microsoft-graph

microsoft graph BETA add Microsoft Teams channel with isfavoritebydefault

和自甴很熟 提交于 2020-02-23 03:48:28
问题 I am trying to create channels in Microsoft Teams using the Microsoft Graph Beta API. In the docs, it says that the channel entity has a property IsFavoriteByDefault that indicates Whether the channel should automatically be marked 'favorite' for all members of the team. Default: false. https://docs.microsoft.com/en-us/graph/api/resources/channel?view=graph-rest-beta#properties However, trying the Graph Beta API (either with custom call or the Graph Explorer) and whatever value I pass to this

Microsoft Graph API Download File content return Unauthorized 401

余生颓废 提交于 2020-02-20 05:28:32
问题 I'm trying to download a file from SharePoint Online using an "app only" token. I can obtain file info using this url https://graph.microsoft.com:443/v1.0/sites/{siteId}/drives/{driveId}/list/items/{itemId}/driveItem But when I try to download the file with this url https://graph.microsoft.com:443/v1.0/sites/{siteId}/drives/{driveId}/list/items/{itemId}/driveItem/content I get the following error 403 FORBIDDEN Content-Length →13 Content-Type →text/plain; charset=utf-8 Date →Fri, 13 Apr 2018

Microsoft Graph API Download File content return Unauthorized 401

与世无争的帅哥 提交于 2020-02-20 05:27:40
问题 I'm trying to download a file from SharePoint Online using an "app only" token. I can obtain file info using this url https://graph.microsoft.com:443/v1.0/sites/{siteId}/drives/{driveId}/list/items/{itemId}/driveItem But when I try to download the file with this url https://graph.microsoft.com:443/v1.0/sites/{siteId}/drives/{driveId}/list/items/{itemId}/driveItem/content I get the following error 403 FORBIDDEN Content-Length →13 Content-Type →text/plain; charset=utf-8 Date →Fri, 13 Apr 2018

Microsoft Graph API - Document library creation with navigation link

旧时模样 提交于 2020-02-06 01:40:34
问题 I am using Microsoft Graph API create a Document Library in a SharePoint Online site. I would like to know if there is a way to create at the same time I create the doc library a navigation link. When working directly on SharePoint online there is a checkbox "Show in navigation link", which will automatically create a navigation link on the left column. I could not find anything in the documentation, I would like to know if there is a way to do that thanks to the API. POST https://graph

Microsoft Graph API - Document library creation with navigation link

送分小仙女□ 提交于 2020-02-06 01:38:46
问题 I am using Microsoft Graph API create a Document Library in a SharePoint Online site. I would like to know if there is a way to create at the same time I create the doc library a navigation link. When working directly on SharePoint online there is a checkbox "Show in navigation link", which will automatically create a navigation link on the left column. I could not find anything in the documentation, I would like to know if there is a way to do that thanks to the API. POST https://graph

Microsoft Graph API Refresh Token Expired

拥有回忆 提交于 2020-02-03 08:04:05
问题 I have a web application integrated to Office 365 using Microsoft graph API. I have using the application for more than a year now. Lately I have been receiving an error stating the refresh token has expired due to inactivity hence I am not able to update that users subscription by 3 days. Now whenever an email hits the users inbox there is an exception in the listen state. below is the error message Error validating credentials. AADSTS70008: The refresh token has expired due to inactivity.

Cannot access onedrive details for another user

旧街凉风 提交于 2020-02-02 12:52:06
问题 While the endpoint works fine to get details of my own OneDrive I am having trouble using Microsoft Graph to get the status of another user's OneDrive. i.e. Do they have one, have they added any files. First, I create a new user account. Then, using Microsoft Graph Explorer I log in as myself, (an administrator) and I request: https://graph.microsoft.com/v1.0/users/{user-id}/drive This returns { "error": { "code": "ResourceNotFound", "message": "User's mysite not found.", "innerError": {

OneNote API is not returning new pages (even via ms graph explorer)

泄露秘密 提交于 2020-02-02 04:22:25
问题 I'm a creator of an app that integrates with OneNote API via Microsoft graph SDKs for Android/iOS. Several of my users reported that the new OneNote notes stopped syncing with the app (hundreds more affected by this). I've been debugging this. And I can confirm that OneNote API does not return new pages. To reproduce: 1) create some new notes 2) go to Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer/) 3) user basic query (https://graph.microsoft.com/v1.0/me/onenote

Solved: Getting forbidden when try to create an online meeting using Microsoft Graph with application token

十年热恋 提交于 2020-01-30 11:53:27
问题 Problem: I need to create an online meeting using Microsoft Graph without an authenticated user. So, I'm getting forbidden status when try to create the online meeting with application token. We have setted the required permissions OnlineMeetings.ReadWrite.All for Application and we have getted administrator consent but is not running. I have followed steps according to Microsoft documentation in https://docs.microsoft.com/en-us/graph/auth-v2-service and https://docs.microsoft.com/en-us/graph

Solved: Getting forbidden when try to create an online meeting using Microsoft Graph with application token

只愿长相守 提交于 2020-01-30 11:52:08
问题 Problem: I need to create an online meeting using Microsoft Graph without an authenticated user. So, I'm getting forbidden status when try to create the online meeting with application token. We have setted the required permissions OnlineMeetings.ReadWrite.All for Application and we have getted administrator consent but is not running. I have followed steps according to Microsoft documentation in https://docs.microsoft.com/en-us/graph/auth-v2-service and https://docs.microsoft.com/en-us/graph