Why "Request administrator consent" if it has already consented?
I would like to migrate my PowerShell reporting script from using MSOnline module to Microsoft.Graph equivalent. Whenever I launch Connect-MgGraph -Scopes "User.Read.All" I get stuck with the following Request administrator consent…
Graph API forward mail
I'm trying to use the endpoint, POST /users/{id | userPrincipalName}/messages/{id}/forward (https://learn.microsoft.com/en-us/graph/api/message-forward?view=graph-rest-1.0&tabs=http). I'm able to send, search and get mail, but whenever I try this…
Get All SharePoint Files and Folder in a Tree structure of a Document Library using GraphAPI?
Get All SharePoint Files and Folder in a Tree structure of a Document Library? I can get all the files within the Document Library, but not in a structured way or in a tree format, by using -…
Graph endpoint teamwork/sendActivityNotificationToRecipients 400 bad request invalid Microsoft Teams domain
When I try to use the Microsoft Graph endpoint "/teamwork/sendActivityNotificationToRecipients" with this body : { "topic": { "source": "text", "value": "Test", "webUrl":…
Error revoking login session
I am loggin using OAuth (Open Authorization) 2.0, and i want to log out directly in my background without use https://login.microsoftonline.com/common/oauth2/v2.0/logout to do this log out i am using this endpoint: curl --location --request POST…
AD B2C Microsoft Graph to send verification code to email
Hi, I would like to know if there is possibility to send verification code to email using Microsoft graph. Basically, I want to do everything in MS Graph ie. signing up, signing in, send verification code, SMS, MFA and social media sign up and sign in.
I've just got my XBOX PC Game pass. Will I lose games I download when my game pass ends?
-Apologies for the random tag, had to give one! The question really sums it up. Will I keep or lose my games (e.g. Minecraft Java) when my subscription to XBOX Game Pass ends? Cheers! -Calvi
MAUI IMAGE LOAD ISSUE USING ASSEMBLY
Hi, I'm encountering a significant problem in my MAUI development. I've developed a MAUI library project, and when I reference it in another MAUI project, everything functions correctly. However, when I attempt to use the assembly or DLL within the same…
AclCheckFailed when list chat messages via Graph API
I'm try to get messages from a chat ID https://learn.microsoft.com/en-us/graph/api/chat-list-messages GET /chats/{{chatId}}/messages GET /users/{{UserId}}/chats/{{chatId}}/messages Response: { "error": { "code":…
Not able to REST call to https://graph.microsoft.com/beta/appCatalogs/teamsApps
Hi Team, I need sample code in C# or documentation how can I generate token in C# code and by using that token how can I hit the URL: and make the request to that API https://graph.microsoft.com/beta/appCatalogs/teamsApps
Resource-specific consent not showing up in permission grants
I've got an Azure app registration, and a Teams application with a manifest that specifies that ID in the webApplicationInfo. I also have the following permissions specified in the manifest: I then hit "Publish" within…
Getting forbidden while hitting the https://graph.microsoft.com/beta/appCatalogs/teamsApps
Hi Team, Now For the Token generation I am using below code : var _clientApplication = ConfidentialClientApplicationBuilder.Create("clientid") .WithAuthority("https://login.microsoftonline.com/tenantid")…
azure ad some of the filter not working with expand attribute like NOT startsWith(displayName, 'Yogendra')
azure ad some of the filter not working with expand attribute like NOT startsWith(displayName, 'Yogendra'). you can refer this screenshot
Is it possible to create webhooks with a personal account to listen to changes in an Excel file using Microsoft Graph?
I want to create a webhook to listen for changes in excel files. This is the code I have: { "changeType": "updated", "notificationUrl":"xxx.com/notificationClient/", …
The property 'Item' is required when creating the entity
I encountered an error while working with the Microsoft Graph API. The error message states, "The property 'Item' is required when creating the entity." I'm trying to auto-reply to an email that contains an item attachment, which is an EML…
How do we Integrate the Microsoft Planner with my Web Application
Hello Team, I have a requirement where I need to integrate Microsoft Planner in My Web Application, not a SharePoint Site. Just Like what we have to Integrate with Teams similarly, I need to Integration with My Web Application. Need Help on Both the …
Unable to fetch RosterPlans for a user using application permission or user permission
Unable to fetch users Planners. rosterPlans https://learn.microsoft.com/en-us/graph/api/planneruser-list-rosterplans?view=graph-rest-beta&tabs=http GET https://graph.microsoft.com/beta/users/{usersId}/planner/rosterPlans Application permission given:…
Can we use the same single sign on app registration for getting the basic details of active directory
Hi Team, We are implementing a web app and using an app registration for single sign on. In web app we have feature to show all the users in the AD. Can we use the same app registration for getting the access token for User.ReadBasic All We have added…
How to fix 'java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.microsoft.aad.msal4j.MsalClientException: java.io.UncheckedIOException: java.nio.channels.ClosedChannelException' while creating a user on azure ad using the ms graph API
HI, How to fix 'java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.microsoft.aad.msal4j.MsalClientException: java.io.UncheckedIOException: java.nio.channels.ClosedChannelException' while creating anew user on Azure ad using the ms…
Getting '409 Conflict' Trying to create contact folder
I am trying to programmatically create new contact folders for users in an organization. The problem arises when I attempt to create a folder—it says there's a conflict. However, I've tried to retrieve the existing contact folders right before creation,…