How to set scope after connecting to Microsoft Graph using non-interactive method?
I've successfully connected to Microsoft Graph using non-interactive method (Client Id, Client Secret), but I'm receiving Insufficient privileges error when running Get-Mguser due to not setting the scope. I have tried running the commands mentioned in…
Graph API Search Fails with App-Only Selected.Sites Permissions - Failed to search: 500 Internal Server Error
Hello, I am using the Microsoft Graph API with SharePoint and App-Only Selected.Sites permissions. I have granted the application “full control” over the selected sites, and I can retrieve an access token and make successful API calls to most…
Create a Microsoft tenant for free.
I would like to create a Microsoft tenant for free, and I followed these steps: Sign in or Create a Microsoft Account: I signed in with an existing Microsoft account or created a new one if needed. Join the Microsoft 365 Developer Program: I clicked the…
How to fix directx error
I installed EA FC 25 and i cant acces the because of an directx error.I have Directx version12 and i updeted the drivers of my graphics card.
Why am i getting access denied error when i try to access calender of other users in my organization
Hi, I am getting access denied error , when i access calender of users in my organization . My user account has got full admin access. Then why am i getting this error. I have already activated user consent for Calenders.ReadBasic &…
Graph API - Subscription - Planner - Not receiving notifications
I am trying to subscribe to Microsoft Planner events using the Graph API and it doesn't sent notifications. I POST to the following URL: https://graph.microsoft.com/beta/subscriptions I include the following in the body: (the expiration date is in the…
Getting "00000003-0000-0000-c000-000000000000" Audience in Access token which was expected to be "https://graph.microsoft.com"
I am encountering an issue while trying to acquire an access token using the SharePoint Online API. The expected audience for the token is 'https://graph.microsoft.com', but I am receiving token '00000003-0000-0000-c000-000000000000' instead. Request…
https://graph.microsoft.com/v1.0/education/classes/{educationClass-id}/assignmentDefaults will always return forbidden
As title assignment defaults will always return forbidden, when trying to patch, whether using graph explorer, Get-MgEducationClassAssignmentDefault with the powershell SDK and the python SDK. I've tried with both user and app scope application, many…
Not receiving Recording Ready notifications for "Meet Now" meetings
I set up subscriptions to notify me when new transcripts are created and when new recordings are created. When I schedule a meeting, I get both notifications as expected. When I create a meeting with Meet Now (from the Calendar tab), I only get a…
How To Call Graph APIs, from Outlook Add-In, for Multiple Tenants, With Single Azure App
Hi, We are building a web-based, JavaScript Outlook Add-In which is required to call Microsoft Graph APIs to access the Outlook's user's emails and attachments. For the same, we understand that the prescribed approach is to register an Azure app, set it…
Why am i getting access denied error when i try to access calender of other users in my organization
Hi, I am getting access denied error , when i access calender of users in my organization . My user account has got full admin access. Then why am i getting this error. I have already activated user consent for Calenders.ReadBasic &…
Method for Limiting Sites Using "Sites.Selected"
Background: Currently, we are using the Graph API's "Search for sites" function to retrieve a list of SharePoint sites. Detailed documentation can be found here: Search for sites - Microsoft Graph. In the future, we plan to implement site…
Why am i getting access denied error when i try to access calender of other users in my organization
Hi, When i access microsoft Calender for other users in my organization . I get access denied error. My user id already has super admin access Please check screenshot and let me know what access is required Screenshot 2024-10-03 045536.png
Calling the same OneDrive graph API will be successful for some accounts and will fail for some accounts.
Use different accounts to call the same OneDrive graph API and other parameters (such as client_ID, client_secret) are same, Account "A" will fail at Step 3, and Account "A" was created before 2019/11, Account "B" will all…
Referrer Policy: strict-origin-when-cross-origin
Hi , I have written a service to fetch the group list from the Azure portal, and that service is working as expected. However, when I call the endpoints from another client application (Next.js), I am getting a cross-origin issue. Please do the…
Creating a Calendar with Microsoft Graph times out
When I try to create a Calendar with Microsoft Graph (using the examples for PHP), I get a idle timout reached for \"https:\/\/graph.microsoft.com\/v1.0\/me\/calendars\ The same problem appears with the endpoint /users/{userId}/calendars. Getting…
Server Side Code/App for "Add-in architecture for SSO and Microsoft Graph"
Hi, From our understanding from the following Microsoft article on "Authorize to Microsoft Graph with SSO": https://learn.microsoft.com/en-us/office/dev/add-ins/develop/authorize-to-microsoft-graph The best way for an Office Add-in to get…
The 'description' property caused OneDrive Graph API calls to fail when using accounts created before 2019/11.
Following "https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createuploadsession?view=odsp-graph-online" to call OneDrive graph api. Account "A" was created before 2019/11, Account "B" was created…
Failure while trying to download an image from a teams message using Microsoft teams graph API connector in Logic Apps
I am trying to download an image from a teams message using the Send a Microsoft Graph HTTP request action in Microsoft Teams connector in Logic Apps. From a URl of type…
MS Graph EnableLostMode isn't working - How to enable lost mode in Powershell
I found the documentation [1], [2] and tried it in Graph Explorer [3] and got "Bad Request" [4]. How to enable lost mode in Powershell?