microsoft-graph

Graph API error 503 serviceNotAvailable when getting item from SharePoint site in Power Automate

≡放荡痞女 提交于 2020-03-26 04:04:38
问题 I am trying to use Microsoft Graph API in Power Automate where I make calls out to perform some actions. I have been successful with all Graph calls up to this one where I get a 503 serviceNotAvailable error. The call I am trying is below GET https://graph.microsoft.com/v1.0/groups/b40e54ac-5626-xxxx-xxxx-xxxxxxxxxxxx/drive/root:/filepath.docx If I paste this directly into Graph Explorer on the Graph API site it works fine so I am happy that the call is syntactically correct. I can't get the

What does SPO required mean for Azure Graph API / OneDrive API access to read files (list and download)

廉价感情. 提交于 2020-03-26 04:04:21
问题 I had assumed that OneDrive offers a free personal storage tier, so that API accesss to OneDrive should not require that the user has an Office 365 subscription... However, after hours of debugging, and just going straight to Postman, after trying to call: https://graph.microsoft.com/v1.0/me/drive/root/search(q='.obj')?select=name,id,@content.downloadUrl using the token, the error returned seems to be that the user does not have SPO, which seems to mean Office365 subscription is required? {

What does SPO required mean for Azure Graph API / OneDrive API access to read files (list and download)

扶醉桌前 提交于 2020-03-26 04:03:45
问题 I had assumed that OneDrive offers a free personal storage tier, so that API accesss to OneDrive should not require that the user has an Office 365 subscription... However, after hours of debugging, and just going straight to Postman, after trying to call: https://graph.microsoft.com/v1.0/me/drive/root/search(q='.obj')?select=name,id,@content.downloadUrl using the token, the error returned seems to be that the user does not have SPO, which seems to mean Office365 subscription is required? {

Why am I not getting notifications for changes on shared calendar events?

≡放荡痞女 提交于 2020-03-25 19:13:20
问题 I've successfully created a webhook subscription to listen for changes on a shared calendar (I got a 201 Created response back from the create subscription endpoint) with the following POST body: { "changeType": "created,updated,deleted", "notificationUrl": <my_https_app_webhook_url>, "resource": "/me/calendars/<calendar_id>/events", "expirationDateTime": "2020-03-06T12:30:27.606347+00:00", "clientState": <secret_token> } If I then create an event on that shared calendar with 1 attendee

Why am I not getting notifications for changes on shared calendar events?

社会主义新天地 提交于 2020-03-25 19:12:32
问题 I've successfully created a webhook subscription to listen for changes on a shared calendar (I got a 201 Created response back from the create subscription endpoint) with the following POST body: { "changeType": "created,updated,deleted", "notificationUrl": <my_https_app_webhook_url>, "resource": "/me/calendars/<calendar_id>/events", "expirationDateTime": "2020-03-06T12:30:27.606347+00:00", "clientState": <secret_token> } If I then create an event on that shared calendar with 1 attendee

Accessing a Word(.docx) file's content with Microsoft Graph REST API?

余生长醉 提交于 2020-03-25 18:39:18
问题 Is there a way to obtain the content of a Word document stored in the cloud through the Microsoft Graph API without having to download the file locally? The goal is to build an app that analyzes a Word document's inner content and produce some interesting data from it. However after searching through Microsoft's Dev Center, Graph Explorer, and their API's documentation repository, I can't find any API endpoints that can serve me that data. I can find some endpoints that deal with manipulating

Not receiving a request on our MS Graph Webhook for deleting a User in AAD

时光毁灭记忆、已成空白 提交于 2020-03-23 07:58:19
问题 We created a Webhook for receiving "Delete" notifications when a user is deleted from Azure AD. But we're not receiving any notifications when we delete a user. In AAD the user is first placed in the recycle bin, but also if we remove the user from the recycle bin, we don't receive any notifications. We've tried our code with receiving emails -> that worked. And with changing a user in AAD -> that also worked. So we changed "updated" to "deleted" and no calls are triggered. We started with de

Not receiving Microsoft Graph change notification

我与影子孤独终老i 提交于 2020-03-22 08:26:13
问题 I'd like to subscribe to user deletions, so that whenever a user is deleted in Azure AD, our app can react accordingly. Here's my subscription request: const now = new Date(); const threeDaysLater = new Date(now.getTime() + 3 * 24 * 58 * 60 * 1000); request.post({ auth: { bearer: {...}, }, headers: { Accept: 'application/json', }, json: { changeType: 'updated,deleted', clientState: {...}, expirationDateTime: threeDaysLater.toISOString(), notificationUrl: 'https://{...}.ngrok.io/api/azure

Is Microsoft Graph API calendarView limited to a single month? How to get all events?

寵の児 提交于 2020-03-21 19:21:20
问题 Is Microsoft Graph API calendarView limited to a single month? How can I get all events? Is there some implicit pagination? I'm first checking the JSON output of events between 2017-01-01 and 2018-12-30 : https://graph.microsoft.com/v1.0/me/calendar/calendarView?startDateTime=2017-01-01T00:00:00.0000000&endDateTime=2018-12-30T00:00:00.0000000 and list the dates jq '.value[] .start .dateTime' "2017-11-22T13:30:00.0000000" "2017-11-23T14:00:00.0000000" "2017-11-24T14:00:00.0000000" "2017-11

Is Microsoft Graph API calendarView limited to a single month? How to get all events?

心已入冬 提交于 2020-03-21 19:20:32
问题 Is Microsoft Graph API calendarView limited to a single month? How can I get all events? Is there some implicit pagination? I'm first checking the JSON output of events between 2017-01-01 and 2018-12-30 : https://graph.microsoft.com/v1.0/me/calendar/calendarView?startDateTime=2017-01-01T00:00:00.0000000&endDateTime=2018-12-30T00:00:00.0000000 and list the dates jq '.value[] .start .dateTime' "2017-11-22T13:30:00.0000000" "2017-11-23T14:00:00.0000000" "2017-11-24T14:00:00.0000000" "2017-11