ClientSecretCredential authentication failed
This is my code FolioFactory folioFactory = new FolioFactory(); ConfigOneDrive objOneDrive = folioFactory.ConsultarConfigOneDrive(e => e.IdEntity == IdEntity).FirstOrDefault(); var scopes = new[] { "https://graph.microsoft.com/.default"…
How to modify the metadata of a file on Sharepoint using Microsoft Graph and Python
Hello, I am trying to modify the metadata (i.e. value in a column I created on SH) using the following Python script but I receive the following error message. Do you have any thoughts/advice? Response Text:…
How do you "Enable Windows diagnostic data collection from devices at a level of Required or higher"?
Greetings and gratitude for any assistance that can be offered here. Purpose for question: We have an unknown number of computers (>=2) that we know have been impacted by a failed windows update and thus want to produce a report of all computers…
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…
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…
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
Unable to generate access token. invalid_grant error, AADSTS65001:The user or administrator has not consented to use the application with ID
Context: I'm building a web app that intends to provide insights and analysis on user's Sharepoint and OneDrive data. Users should be able to come to my web app, connect their Sharepoint and OneDrive data by going through some oauth flow and agreeing to…
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
Request to Add Copilot 365 to Sharepoint Search and Create Documents
Dear MS Copilot/Sharepoint Team, I am writing to request the integration of Copilot 365 into our organization's Sharepoint environment. To proceed with this integration, we would need your assistance in: Evaluating the compatibility of Copilot 365 with…
how to provide app permission consent to use Microsoft Graph APIs and Azure cost management APIs all read access? Also Which role is required to provide consent with lease privileges?.
how to provide app permission consent to use Microsoft Graph APIs and Azure cost management APIs all read access? Which role is required to provide consent with lease privileges?. I know we can provide the admin consent using Global Administrator, but is…
How to Authenticate Scan to email mailbox
Our organization is trying to have all mailboxes set up with MFA so we can turn of legacy. The issue is that we have scan-to-email function set up through a UserMailbox, so if we convert this to a SharedMailbox, users will no longer be able to use it for…
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.
Graph API - Get All Messages - Incoming Only
I am using Postman to connect to a Graph API in order to pull & export a users Teams Chat History. Everything is setup and I am able to get results, however I only seem to be pulling incoming messages. Is this as designed or is there a way to pull…
B2c: "userPrincipalName already exists" even though the user can't be found via the Graph API
Since yesterday 10AM UTC+2 where having some issues with creating new users via the Graph API in one of our B2c tenants. Some requests time out and retries end up with userPrincipalName already exists and HTTP 400. The problem is: the actual user cannot…
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":…
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…