Adding tags to SharePoint file with Graph Service Client
Hiya, I'm currently working on a project where the goal is to automatically update SharePoint. Recently, I stumbled upon a problem with adding tags to an item. I have a multi choice property in SharePoint, but I can't seem update this with the graph api.…
AADSTS700027: The certificate with identifier used to sign the client assertion is expired on application. [Reason - The key used is expired.,
Please give me correct solution for this
Get-MgDirectoryOnPremiseSynchronization : Insufficient privileges to complete the operation as the Global Administrator?
What are the additional required permissions on top of the Global Administrator to execute the below read only command? Connect-MgGraph -Scopes OnPremDirectorySynchronization.ReadWrite.All Get-MgDirectoryOnPremiseSynchronization The error I am…
Constant 503 errors when using Graph Calendar API
We're seeing constant 503 errors no matter what "max" page size we try and use. We tried a page size of 20 too and it still fails with 503 - the same requests work for other accounts. What should we do to get around this? Here's our GET…
I've encountered the 'unauthorized_client: The client does not exist or is not enabled for consumers' error while trying to use authentication via Microsoft Graph in my web service; any ideas on how to fix this?
Hello, I've added authentication via Microsoft Graph to my web service. Everything was working fine, but at some point, I started getting an "unauthorized_client: The client does not exist or is not enabled for consumers" error when trying to…
How to fix MailboxNotEnabledForRESTAPI
Dear Team, I'm developing an application that requires access to a mailbox enabled for the Outlook REST API. We need a developer preview account to test our app's functionality, especially for creating online meetings, booking the host and recipient's…
Create an Appointment without invitation-graph API
I'm working with the Microsoft Graph API to create events in an Outlook calendar. When I create an event for myself, no email is sent, but when creating an event for another user, they receive an email with options to accept or decline the event. Is…
How to use Graph API to list Bookmarks by given item id
In the Microsoft documentation I found an API call to get a list of bookmarks: https://learn.microsoft.com/en-us/graph/api/search-searchentity-list-bookmarks?view=graph-rest-1.0&tabs=http#request-headers However when I try the command in the graph…
Microsoft Graph API to List Windows Update catalog entries does not work
Hello, I am trying to use the the following Microsoft graph API to list catalog entries in the graph API explorer https://graph.microsoft.com/beta/admin/windows/updates/catalog/entries But, I get the following error { "error": { …
How to get list of users who have "Microsoft Teams Phone" license?
Hi! We are trying our customers users to check if their user have a "Microsoft Teams Phone" license. Currently we get all users and loop through the users using the license details API to get the license each. The problem with this one is it…
How to switch tenant in Graph Explorer
I logged into the 'Graph Explorer' (https://developer.microsoft.com/en-us/graph/graph-explorer) using my account and it set a tenant by default. While I want to run queries in another tenant I can access. How to switch to another tenant?
How do you retrieve the displayName of an App Role via Graph?
I need to retrieve the display name of an App Role assigned to a user via the Microsoft Graph API. I see the resource type appRole, but there doesn't seem to be a way to retrieve it:…
issue giving managed identity exchange admin role
I am trying to give a managed identity exhcange admin role to run automations in azure however when using $MIAppID = 'my id' $params = @{ ServicePrincipalId = $MIAppID # managed identity object id PrincipalId = $MIAppID # managed identity object…
Graph upload large file with powershell
I have looked at previous posts on this topic and still have not managed to be able to upload a large file to SharePoint using the Resumable Upload. I have some specific areas where I have questions. My current code is: $fileName =…
Outlook Email returned with duplicate IDs
Hi Team, We are currently facing an issue where we are receiving emails with the same ID from the API. This is leading to missed captures through our request since there are two different emails received with identical IDs. The ID is crucial for us to…
Is there any API to get Microsoft compliance reports?
I want to get the Microsoft Message encryption report and Alerts from Microsoft Compliance programatically using API. Manually I do the process in the following way: Message Encryption Report: Link:…
Azure Notification to Event Hub - How to use ENTRA or RBAC authentication instead of SAS
I am trying to subscribe my event hub to receive change notification from MS Graph https://learn.microsoft.com/en-us/graph/change-notifications-delivery-event-hubs?tabs=change-notifications-eventhubs-azure-cli%2Chttp To create the subscription, I would…
How can I configure the policy in Intune or Entra ID to automatically delete and remove stale computers with the activity older than 6 months?
How do I set up the policy in Intune or Entra ID to automatically delete and remove stale computers with activity older than 6 months? or any PowerShell script that I can safely run regularly to remove any Device in Entra ID with no activity for more…
When collecting a shared channel using Graph API v1.0, the wrong membership type is obtained.
When collecting a shared channel using Graph API v1.0, the wrong membership type is obtained. When will v1.0 be modified to bring normal results?
403 Forbidden error while calling the create team Graph API
Hi, I have been using the create team API, it was working fine couple days back, there was no change in permissions or even in the code. Since 2 days we are facing 403 forbidden error. URL: https://graph.microsoft.com/v1.0/teams with request payload…