microsoft-graph

Filtering Onedrive items by lastModifiedDatetime

雨燕双飞 提交于 2020-03-02 09:22:00
问题 I try to filter OneDrive items from within the Microsoft Graph endpoint, by lastModifiedDatetime property. Something like that : https://graph.microsoft.com/beta/me/drive/special/photos/children?$top=3&$orderBy=lastModifiedDatetime It doesn't work. The error returned is : "message": "The request is not supported by the system." But according to the documentation ( https://dev.onedrive.com/odata/optional-query-parameters.htm#optional-odata-query-parameters ) oderby : Comma-separated list of

how do I get the list of contact folders for a user with MicrosoftGraph API

独自空忆成欢 提交于 2020-02-29 06:09:30
问题 I can't get access to the other contact folders in a user's account, through the MSGraph API. I am able to get the contacts in the default folder. But when I try to get the other contact folders for that same account with a GET request to this url https://graph.microsoft.com/v1.0/users/user@domain.com/contactfolders I get an empty array { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('user%domain.com')/contactFolders", "value": [] } When I look at the decoded jwt I can

how do I get the list of contact folders for a user with MicrosoftGraph API

一个人想着一个人 提交于 2020-02-29 06:08:30
问题 I can't get access to the other contact folders in a user's account, through the MSGraph API. I am able to get the contacts in the default folder. But when I try to get the other contact folders for that same account with a GET request to this url https://graph.microsoft.com/v1.0/users/user@domain.com/contactfolders I get an empty array { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('user%domain.com')/contactFolders", "value": [] } When I look at the decoded jwt I can

MS Graph Explorer - List joined teams - error 404

心不动则不痛 提交于 2020-02-27 03:34:24
问题 I've been reading hundreds and hundreds of posts related to several MS graph explorer API issues without being able to solve mine by myself; I hope I don't overlap with another post and that you'll be kind :) !! I'm trying to perform the following request in my typescript (angular-cli) app : https://graph.microsoft.com/beta/me/joinedTeams with this code : private findMyTeams() { const that = this; this.listMyTeams().subscribe(items => { that.joinedTeams = items.value; // used in html *ngFor }

'onlineMeetingUrl' is null after call Create Event in Graph api

爱⌒轻易说出口 提交于 2020-02-25 07:09:09
问题 I use create event api to create an event object with "onlineMeetingUrl: https://meet.lync.com/example/joyce/NLSD7Y62" but the response of "onlineMeetingUrl" is null. Is it a bug or is there any way to create a new event with 'onlineMeetingUrl'? Here are my test steps. Step 1. POST /me/events { "@odata.etag": "W/\"BfXylo4WykyAenTZICXL5AAApUQ11g==\"", "id":

'onlineMeetingUrl' is null after call Create Event in Graph api

你。 提交于 2020-02-25 07:07:46
问题 I use create event api to create an event object with "onlineMeetingUrl: https://meet.lync.com/example/joyce/NLSD7Y62" but the response of "onlineMeetingUrl" is null. Is it a bug or is there any way to create a new event with 'onlineMeetingUrl'? Here are my test steps. Step 1. POST /me/events { "@odata.etag": "W/\"BfXylo4WykyAenTZICXL5AAApUQ11g==\"", "id":

Filtering objects by date in MS Graph

我的未来我决定 提交于 2020-02-25 04:20:08
问题 I'm trying to get a list of all users who were created after a certain date. I can use the endpoint below to get all users and then extend it again to request the user created date. In the graph explorer this only shows my date the rest are blank but I'm guessing this is down to permissions so I'm not concerned as this will be running in an SPFx web part with requested Graph permissions https://graph.microsoft.com/v1.0/users https://graph.microsoft.com/v1.0/users?$select=id, displayName,

microsoft graph rest api beta: application created by api in azure ad b2c is not valid

只谈情不闲聊 提交于 2020-02-24 18:50:09
问题 i'm trying to create ad application using beta api by following this document: https://docs.microsoft.com/en-us/graph/api/application-post-applications?view=graph-rest-beta&tabs=http the application can be successfully created in Azure AD B2C ( not Azure Active Directory) as expected. the issue is when i'm trying to open this app from portal, the page just keeps loading while the app information never shows. i can see there's an error from browser dev tool: The following request returns 404

How to search an item in specific folder in one drive?

放肆的年华 提交于 2020-02-23 07:06:10
问题 I am using Microsoft Graph to manipulate files in OneDrive. I need to search for a file in a specific folder, and if the file exists, delete that file. I am using the following code to search file, it gives the search results for the whole drive. var checkIfExists = this.graphClient .Me .Drive .Search(item["FileName"].ToString()) .Request() .GetAsync() .Result; I need to search file in specific folder only for example in duplicate folder only. 回答1: You can scope the search to any path you

microsoft graph BETA add Microsoft Teams channel with isfavoritebydefault

萝らか妹 提交于 2020-02-23 03:49:39
问题 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