Subscription
10 TopicsOneDrive webhook API occasionally returns a 401 status code
TL;DR: scroll down to the "Questions" section Hello, I am currently working on an integration with OneDrive that manipulates webhook subscriptions to OneDrive drives via the Graph API, using the /subscriptions endpoint. Sometimes, without any apparent reason, the API returns a 401 Unauthorized error with a response similar to the one below (this one is the payload of an actual response I got for a PATCH /subscriptions/{id} call): { "error": { "code": "ExtensionError", "message": "Operation: Update; Exception: [Status Code: Unauthorized; Reason: Authentication failed]", "innerError": { "date": "2021-04-16T00:29:11", "request-id": "4f1f55fe-9ac1-4c8c-9d21-529d0d0be1a1", "client-request-id": "4f1f55fe-9ac1-4c8c-9d21-529d0d0be1a1" } } } Retrying the request usually works (yes, retrying the exact same request that returned a 401 Unauthorized error can succeed if retried). To demonstrate this, I attached the logs of 2 other, identical requests: one that failed and another one that succeeded. I obfuscated the auth tokens, but assume that the exact same auth token was used for both. Also assume that the endpoint indicated in the payload existed at the time, and correctly performed the validation steps outlined in the documentation. Given that the response payload and headers don't provide any useful information (even the x-ms-ags-diagnostic header is identical between a successful and a failed request), and that the documentation does not mention anything specific to these endpoints and their status codes I wanted to reach out to the community to check if anyone else faced a similar issue. ==Questions== Did anyone experience intermittent 401 Unauthorized status codes from the OneDrive /subscriptions endpoints? If so, how did you handle them? The naiive approach would be to retry the request, except that the outcome of a request that returns a 401 Unauthorized status code is uncertain. For example, sometimes the webhook gets eventually created even when a POST /subscription request apparently fails. Given the nature of the problem, it's hard to come up with a consistent way to test this, but if I discover more information I'll update this post. Thanks!1.5KViews0likes1CommentM365 E3 to E5 Mid-Term Upgrade: Remove duplicated licenses after an upgrade
Hi all, I have a client that would like to upgrade from Microsoft 365 E3 to Microsoft 365 E5. They also have the following additional subscriptions for E3 users that will become redundant after the upgrade: Power BI Pro Microsoft Defender for Endpoint P2 Microsoft Entra ID P2 The upgrade documentation isn't clear and doesn't provide examples as to which subscriptions qualify for cancellation after the upgrade. https://learn.microsoft.com/en-gb/partner-center/create-a-new-subscription?tabs=workspaces-view#remove-duplicated-licenses-after-an-upgrade Will the three subscriptions listed above qualify for cancellation mid-term with the upgrade from E3 to E5? Regards Chris343Views0likes0CommentsMeeting change notification cannot receive notice after updating meeting
Hi, I have some questions about online meeting subscription. I created change notifications for online meeting resource and it worked before, But if I update the meeting(such as changing meeting time, changing subject or adding/removing attendee). The subscription still be valid but I cannot receive change notice when I start meeting. Can I confirm that is the change notification doesn't support meeting after updating? Thanks2.5KViews0likes10CommentsQuestion about subscription length
Hi, I want to keep a change notification subscription to calendar and online meeting resource being updated every day(firstly created a subscription with 24 hours length and set expire time in next 24 hours after one day) but the subscription disappear in 3 days(I wanted to update existing subscription but received 404 response). I know that the maximum life length of subscription for event is 3 days but I want to confirm that this period is the time the subscription could be saved in Microsoft and cannot be extended?(Can I update expire time to extend subscription or only 3 days after it being created?)981Views0likes3Commentsprocess for Azure subscription retirement
Hi all, I'm wondering what processes/workflows you have in place for retiring (deleting) no more needed subscriptions. I was thinking about stuff like this: Financial reporting cleanup RBAC cleanup Firewall rule cleanup Removal of AAD groups What else could there be ? Could anyone share their view or even provide some useful documentations? Thanks !1.2KViews0likes2CommentsUnprofessional Handling of a support case
Dear Azure Team and whom it may concern, at the end of December I created a free trial subscription in Azure to begin with and started setting up my project (SQL Server DB and Analysis Services plus some cognitive services). A few days later I set up PowerBI for the same domain I set up the azure environment with and that was were the trouble started. Afterwards I was not able to log in anymore, my subscription expired and the worst I could not transfer or change it to a Pay As you Go one for until now an unexplained reason. After literally thousands of calls and remote sessions, 5 different contact persons from all over the world, no one was able to help me out of this miserable situation. In fact they just closed the case and left me where I am right now. Neither can I access my data cause the subscription is disabled nor can I delete it to start from scratch (I really have to use this domain name...) nor can I re-enable it by adding a credit card to it. Everything just does not work. The most rude thing actually is that they just closed the case without getting back to me. The only feedback I got was this: The Account Research Team responded stating “As part of our strong commitment to the protection of our customers and our interest in preserving the quality and integrity of the Azure service, we perform supplementary reviews of accounts which may exhibit irregular or suspicious activity. Your account was selected for one of these reviews and after careful consideration, we will be unable to reinstate your purchasing ability. Please understand that we keep security checks like these in place in order to protect the quality and integrity of the Azure service.” I am referring to this particual support case: [REG:118010817420745] Two AD and no subscription Initial Response Anyone,please help me out!828Views0likes0Comments