microsoft-graph-api

Microsoft Graph API Groups Delta Query Never Returns Delta Query (Infiinite loop with nextLink)

牧云@^-^@ 提交于 2020-06-29 07:16:10
问题 While working with Microsoft Graph Explorer, I noticed that when you submit a groups delta request like https://graph.microsoft.com/beta/groups/delta, you will get a response with the @odata.nextLink available. However, when I follow the provided link, I start getting exactly the same set of groups as in the previous response with another @odata.nextLink leading to the endless recursion if I keep following the links. The expected behavior is to get @odata.deltaLink at some point but in never

Places Room List API returns cached data

萝らか妹 提交于 2020-06-29 05:45:29
问题 I have removed 4 existing room lists using Remove-DistributionGroup cmdlet. I have added 1 new room list using New-DistributionGroup cmdlet. However when calling the API https://graph.microsoft.com/beta/places/microsoft.graph.roomlist (using cURL) with Application Permissions to Places.ReadAll , the API returns the old roomlists and not the new one. However when calling EWS via EWS Java SDK, the output is as expected i.e. it only shows the new roomlist. The Office365 Web app also shows the

Unable to upload new file (<4MB) to SharePoint (ms graph api)

↘锁芯ラ 提交于 2020-06-29 04:19:26
问题 I'm trying to upload an attachment i get from Outlook to a folder inside a SharePoint document library. I am Following the docs: https://docs.microsoft.com/en-us/graph/api/driveitem-put-content?view=graph-rest-1.0&tabs=http#http-request-to-upload-a-new-file fetch(`https://graph.microsoft.com/v1.0/sites/${siteId}/drive/items/${parentId}:/${attachment.name}:/content`, { method: 'PUT', mode: 'cors', headers: new Headers({ 'Authorization': `Bearer ${accesToken}`, 'Content-Type': 'text/plain' }),

Can you get PR_TRANSPORT_MESSAGE_HEADERS 0x007D from the .Net Microsoft Graph API?

旧时模样 提交于 2020-06-29 04:16:33
问题 We are using alias email addresses to match incoming emails with a client. All the alias addresses are delivered into one Primary emailbox. The alias address is not listed in the ToRecipients. If I open the email in OWA and look at the message details, I can see the alias in the To: property of the message header. I tried using the graph.microsoft.com/beta endpoint to get the internetMessageHeader. It worked great(I was surprised.) Unfortunately, the To: property is missing from the response.

Authorization Denied trying to access Bookings Api in Microsoft Graph

社会主义新天地 提交于 2020-06-29 04:16:22
问题 I am trying to create an app that runs from an AWS lambda that acts as a middle man for customers wanting to sign up for a booking using Microsoft Bookings. Following the documentation I am able to generate an access token for Graph, but I get an authorization denial when I try to request information from bookings through the api. My Code: import request from "request"; import { Callback } from "./callback"; const APP_ID = process.env.BOOKINGS_APP_ID; const APP_SECRET = process.env.BOOKINGS

Authorization Denied trying to access Bookings Api in Microsoft Graph

纵然是瞬间 提交于 2020-06-29 04:16:01
问题 I am trying to create an app that runs from an AWS lambda that acts as a middle man for customers wanting to sign up for a booking using Microsoft Bookings. Following the documentation I am able to generate an access token for Graph, but I get an authorization denial when I try to request information from bookings through the api. My Code: import request from "request"; import { Callback } from "./callback"; const APP_ID = process.env.BOOKINGS_APP_ID; const APP_SECRET = process.env.BOOKINGS

Understanding Microsoft graph /getSchedule Api functionality

倖福魔咒の 提交于 2020-06-29 03:49:11
问题 I am trying to use graph /getSchedule api to check for meeting conflict. However I'm not quite about functionality and usage of request input field "availabilityViewInterval". My basic requirement is to pass a start and end dateTime and see if the resource is available(free/busy). Although I am able to get that in /getSchedule Api but not sure on some of the fields in request and response. "availabilityViewInterval" : This is a request field and is stated in document as optional but while

api to get list of users assigned to a particular custom role in Azure AD

烈酒焚心 提交于 2020-06-29 03:40:16
问题 I need an api that list the users assigned to a particular custom role in Azure AD or an api that gives the assigned roles, both built-in roles and custom roles of a particular user. Can anyone suggest the api. Thanks in advance 回答1: From the below query, you will get roledefinitionid by giving object-id-of-principal(userID) https://graph.microsoft.com/beta/roleManagement/directory/roleAssignments?$filter=principalId eq '<object-id-of-principal>' Once you receive the role definition id of a

Microsoft Graph: How to get the e-mail address of an Outlook task's assignee?

大憨熊 提交于 2020-06-29 03:38:52
问题 Using Outlook I assign a task to user Romeo Reader : I request task updates: Thus the task remains in my task list as well. I now use Microsoft Graph to receive a list of all my tasks. The task I assigned to Romeo Reader is included in this list. The assignedTo property is set to the name Romeo Reader identifying this task as having been assigned: Note: This is a plain string property containing the user's display name. How do I get more information about this user I assigned the task to? I