How to update user manager in bulk via MS Graph PowerShell or any other way than Azure AD PowerShell module as its going to be deprecated?
How to update user manager in bulk via MS Graph PowerShell or any other way than Azure AD PowerShell module as its going to be deprecated?
This app requires your admin's approval to
Hello. I have a similar problem like many people have when using App Registrations and Enterprise Apps: The login fails with a message requiring admin, even though you have things configured that a user should be able to consent My settings all…
Graph API - How to handle empty manager of CEO?
Hello, I have the use case where I query the manager of a given user. But when the given user is our CEO then I get an error, since he doesn't have a manager. Because I want to avoid hardcoding his user to skip this query, what are the options to handle…
Fetch Microsoft forms data inside the React app
I'm trying to integrate an microsoft inside the react application. I was able to embed inside the react application by following the https://support.microsoft.com/en-us/office/send-a-form-and-collect-responses-2eaf3294-0cff-492d-884d-a1dee909e845. Now…
Create folder inside channel of a Teams' team using Graph from VBA
Hello, I'm trying to create a folder on a team's channel in Teams, using the Graph API inside VBA running in an Excel file. Basically, I have an excel file with data and a button, and when the button is pushed, it would trigger the creation of a folder…
How can a user grant access to their mailbox via Graph API?
I have a 'global admin' account through which I performed the app registration and configuration. As a result, I obtained the tenantID, clientID, and ClientSecret. With these credentials, along with the username and password, I am able to successfully…
Microsoft Graph api for alertRules and alertRecords not working with CloudPC.ReadAll permissions.
Hi Team, We are trying to alert rules and records using Microsoft Graph apis (beta). Please find below the details: APIs: …
Graph api Create onlineMeeting (Error authenticating with resource)
Hello microsoft team I gave the necessary permissions. authorization OAuth 2.0 authorization endpoint (v2) I do it through What do you think the problem could be?
Persistent 500 errors while downloading email attachment (PropertyErrorCode: CorruptedData)
We are seeing repetitive http 500 responses from graph while trying to download email attachment using graph API. It's always the same attachment of type #microsoft.graph.itemAttachment. The 500 http response from graph is below. Can someone please tell…
Graph API date filter issue.
I was to fetch files only from a specific date eg. lastModifiedDateTime. I am using the below API call to get all items from the drive: (all the driveItems are fetched in the response.) …
How to filter children in a drive folder using nodejs microsoft-graph-client api
I need to list the children of some drive and to filter them by lastModifiedDateTime, but the filter creates errors: const result = await azClient.api(`/drives/${driveId}/items/${folderId}/children`) .filter("lastModifiedDateTime ge…
Particular inbound emails not triggering change notification for subscription created using the Microsoft Graph API
We've found that several emails (mostly from various subscribed newsletters) are not triggering change notifications to our specified endpoint. The subscription (to me/messages) is still active and the we receive notifications when sending directly to…
Error: Could not retrieve Global Service Principal ID Error: Error: {}
When I want to approve the requests in the API Access I get following error: I followed this article…
Microsoft Graph API contacts delta
Hello, when browsing the Microsoft Graph API documentation, to get delta changes of contacts for a user the only available endpoint looks like it's https://learn.microsoft.com/en-us/graph/api/contact-delta?view=graph-rest-1.0&tabs=http, which…
error I encountered while attempting to create an online meeting using the Microsoft Graph API
I am writing to request your assistance in resolving an error I encountered while attempting to create an online meeting using the Microsoft Graph API. The error message I received is as follows: "Error creating online meeting: GraphError: Request…
I am trying to access microsoft graph api to send message to a channel in a team. I am using this endpoint https://graph.microsoft.com/beta/teams/{team_id}/channels/{channel_id}/messages. getting 403 forbidden error
I am trying to access microsoft graph api to send message to a channel in a team. I am using this endpoint https://graph.microsoft.com/beta/teams/{team_id}/channels/{channel_id}/messages. I have already granted all the API permissions in AAD. I have…
In Copilot Studio(Formerly PVA), how to retrieve chat history in a chat bot
I have developed a chat bot in Copilot Studio. But it does not give the logged in user's previous chat history. How to fetch the chat history of the user every time the user logs in
How to run Teams Audio Calling Bot (PSI bot)
I am trying to create a teams calling bot, and following this document - https://learn.microsoft.com/en-us/microsoftteams/platform/sbs-calling-and-meeting but when I am trying to run the PowerShell command getting these types of errors when I am…
Using Graph API to create Teams 1:1 chat and send message via app (not user)
I am looking to create a notification application which the company will use for e.g. reminders or incidents. The goal is to send the messages to 1:1 chat in Teams and I have already: Registered the app in MS Entra Gotten the following Graph API…
Value cannot be null. Parameter name: storeId
Hi When I use below code to send email usisng a graph client; await graphClient.Users[SenderUserEmail].SendMail(message, true).Request().PostAsync(); I get exception; Code: ErrorInternalServerError Message: An internal server error occurred. The…