How to obtain new user's LookupId when they are not registered yet in the hidden user information list.
I'm encountering an issue when assigning task to user in Microsoft Lists using the endpoint '/sites/{site-id}/lists/{list-id}/items' with request body: { Assigned_x0020_ToLookupId: (user_look_up_id) } This process requires retrieving user_look_up_id in…
Can we create event in user's calendar with application permissions?
I am working on a project where I need to create events in user's Outlook calendars. The requirement is that job inspection dates should be added to the calendar of relevant users. Additionally, users should have the ability to manually create events on…
2 subscription notifications instead of1
Hi, I created a subscription to get MS Teams channel messages created/updated events. But for each event my server gets 2 similar requests. For example: Request { value: [ RequestValue { change_type: "created", …
How to search for a group by displayName in MS Graph Client?
Hi! There is this command from the official doc (https://learn.microsoft.com/en-us/graph/api/group-list?view=graph-rest-1.0&tabs=cli): mgc groups list --search ""displayName:Video" OR "description:prod"" --count…
Microsoft Graph not retrieving updated tenant information
The following MS Graph API call does not retrieve updated room information when the room information i.e. a new room, room displayname change or capacity change when this information change is made in the tenant admin portal under the Resources tab. Why…
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
create team templates issue
using app credentials/secret, so no authentication flow: Posting to…
How to use Graph API to edit Word or PowerPoint content
How can I use the Microsoft Graph API to extract content from a Word or PowerPoint document, find and replace specific text, and then update the existing document? I have attempted to use…
Backups software goes wrong on Graph API response for onedrive
Hello, We have a backup solution and we backup a lot of tenant. When the user doesnt have a license or onedrive enabled the backup software want to get an Error 404 not found. But for some tenants and users we get an error 403 instead of 404. We can…
CoreHttpProvider[sendRequestInternal] - 423 Error during http request Throwable com.microsoft.graph.core.ClientException: Error
Hi, I am working on the MSAL SSO and using graph API for fetching the user and groups from the Azure AD. Previously it was working fine but suddenly it was giving me below issue: CoreHttpProvider[sendRequestInternal] - 423 Error during http request…
I'm building an API connection, is it possible to get a account filled with fake / sample data?
Hi! Question: I'm currently developing a new Enterprise product that has a direct sync with the microsoft graph API. I was wondering if it is possible to get an account that is filled with fake / sample data? This way we can test our API connection…
This link isn’t supported yet in the new Teams
I'm using Microsoft graph API to create online meeting. this is the endpoint I'm using https://graph.microsoft.com/v1.0/users/.../onlineMeetings And I get a valid URL, however when I try to open the link, some times I get the message: "This link…
Export SAML Certificate from Service Principal via Powershell, Azure CLI or MS Graph
In the Microsoft Entra ID portal there is an option to export the public key of SAML signing/encrypting certificates under Enterprise Applications. Is there a way to export those same certificates programmatically, i.e., a PowerShell/Azure CLI command or…
Is there an graph API that can obtain whether a file is in an editing state (locked)?
Hi guys, The user is editing a file in Onedrive, and if we update the content of the file through the Graph SDK at this time, we will encounter the following error "The resource you are attempting to access is locked". To avoid encountering…
Microsoft Graph Command Line Tools Enterprise application missing
When I run the command Connect Connect-MgGraph -Scopes $scopes -TenantId $tenantId as a global admin It does not create a Microsoft Graph Command Line Tools enterprise application in my tenant anymore. I cannot see the permissions even though I have…
What API permission do I need to rotate SAML certificates on Azure Enterprise Applications?
I get a Forbidden error in my python script that rotates SAML certificates on an Azure Enterprise Application. 403 Client Error: Forbidden for url: https://graph.microsoft.com/v1.0/servicePrincipals/{servicePrincipalID}/addTokenSigningCertificate On the…
Troubles with uploading file into blob storage - PROD environment. Firewall issue?
I have the following code: # Connecting to Azure Blob Storage $blobServiceClient = $null Try { $connectionString = Get-AzKeyVaultSecret -VaultName $keyvaultName -Name $secretName1 -AsPlainText $blobServiceClient =…
Issue Retrieving "Department" Attribute from Microsoft Graph API
Hello Community, I'm facing an issue with retrieving the "department" attribute from the Microsoft Graph API. I've been trying to develop a PowerShell script for Azure Automation that assigns users to groups based on their department, but I'm…
How to add Microsoft Teams as a non-custodial data source in eDiscovery API?
Hi, I want to create a search to audit all messages from "Guest" in my teams account via API. For it, I was using eDiscovery API but facing an issue when I am trying to create a search. It requires dataSourcesScopes and as far as I understand…
Cannot view Sentinel alert for some incidents but the alert can be found in Defender for Endpoint portal using Graph
I have enabled automatic incident creation for Defender for Endpoint in Sentinel but when I try to view some alerts associated with the created incidents, nothing is displayed. Despite this, I can locate the relevant alert in the Security (Defender for…