Relative Content

Tag Archive for microsoft-graph-api

Microsoft Graph Organiser Set

enter image description here
Create and enable an event as an online meeting in Microsoft Graph api. Can we set organiser. Is it possible.I need to know is it possible or not?
POST ``https://graph.microsoft.com/v1.0/me/events
Prefer: outlook.timezone="Pacific Standard Time"
Content-type: application/json
{
"subject": "Let's go for lunch",
"body": {
"contentType": "HTML",
"content": "Does noon work for you?"
},
"start": {
"dateTime": "2017-04-15T12:00:00",
"timeZone": "Pacific Standard Time"
},
"end": {
"dateTime": "2017-04-15T14:00:00","timeZone": "Pacific Standard Time"
},
"location":{
"displayName":"Harry's Bar"},"attendees": [
{
"emailAddress": {
"address":"[email protected]",
"name": "Samantha Booth"
},
"type": "required"
}
],"allowNewTimeProposals": true,
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}

Graph API InternalServerError with FanoutDownstreamContradiction when running queries with large amount of results over multiple sites

I am running a search query against our SharePoint environment over a large amount of sites using the Graph API. For this we use the ‘search/query’ endpoint. The request is done using delegated permissions. Currently, when we run a query, most of the times it goes well, but sometimes gives an error with a statuscode 500 like this:
I am running a search query against our SharePoint environment over a large amount of sites using the Graph API. For this we use the ‘search/query’ endpoint. The request is done using delegated permissions. Currently, when we run a query, most of the times it goes well, but sometimes gives an error with a statuscode 500 like this:

Microsoft Graph Application token obtained using Azure AD client credentials flow does not include expected permissions

I am facing an issue with obtaining an application token using Azure AD’s client credentials flow. Despite having correctly configured and granted the necessary API permissions for my application in Azure AD, the token retrieved using the .default scope does not include all the expected permissions but instead includes 4 permissions (“Mail.ReadWrite, User.Read.All”, Mail.Read”, Mail.ReadBasic”) but I don’t understand why only these are showing and nothing else. What am I missing?

Accessing Outlook Calendar Graph API from background service

I’m working on a webapp (SPA and backend) that must constantly access the user’s Outlook calendar. The users may come from multiple directories and personal accounts. The app will work 24/7, running the background service and modifying the user’s calendar without the user’s involvement. So far, I have completed the following: