Restricting Application Permissions in Azure AD
Is there a way to ensure that an application has access only to its specific permissions in Azure Active Directory, rather than the broad Application.Read.All permission that grants read access to all applications in the tenant? If this is not possible,…
How to enable Devices API for Places
I'm trying out some sensor device APIs within Places. When I try to ingest telemetry for a device, I get the following error: { statusCode: 403, code: 'forbidden', date: '2024-12-16T13:26:25.000Z', body:…
How to change teams policy with GRAPH API
Hello, I had created a post in 2022, to request the equivalent of the following command, in the GRAPH api : Grant-CsTeamsUpgradePolicy -Identity "xxxx@X " -PolicyName UpgradeToTeams -verbose Here is the link to the post: Lien Has anything…
graph api list items - deletion permanently
Hi, When using this endpoint DELETE /sites/{site-id}/lists/{list-id}/items/{item-id} , documentation is here: https://learn.microsoft.com/en-us/graph/api/listitem-delete?view=graph-rest-1.0&tabs=http I discover that the deleted items are in the…
How to change teams policy with GRAPH API
Hello, I currently use these types of commands to assign TEAMS policies: Grant-CsTeamsUpgradePolicy -Identity "xxxx@Anonymous " -PolicyName UpgradeToTeams -verbose What are the equivalent commands with GRAPH API? and how can I…
More granular application specific Application.Read.All
Is there an alternative available to use a more granular permission than Application.Read.All to read only permission granted to a specific application? We have a customer feedback that ideally there should be a way to only grant permission to an…
Sort Parameter affects amount hits returned by MS Graph Search API
The MS Graph Search API provides not all Hits if a sorting Parameter is set: { "requests":[ { "trimDuplicates":true, "sortProperties":[ { …
Graph callRecords API is very slow or returns 500 Internal Server Error
Hi! We are trying to use the callRecords API to retrieve a list of all callRecords for a user and then retrieve the callRecords participant details for these callRecords, so we are using these…
An Outlook event organizer's email is not always the user principal name
Using Graph API, we fetch a certain Outlook event. The event includes, among other details, the organizer information in the following format: "organizer": { "emailAddress": { "address": "myroom@email.com", …
New-MgDomainFederationConfiguration is failing with 409
It seems that New-MgDomainFederationConfiguration is broken. We need to set federation for a domain which is what this command used to work in past. Now. We registered a new Entra, registered a new domain and set all the verification things. We added the…
Start subscription to get activity for sharepoint sites in microsoft graph.
I have a TS project working on getting users, groups, etc on M365. I want to get usage about SharePoint sites and I'm trying to start a subscription like this but I got an error: "Resource not found for the segment 'activity'. Code: BadRequest,…
CORS Error When Calling https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/token in React.js Outlook Add-In
I'm developing a React.js-based Outlook add-in and facing a CORS issue while calling the API https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/token. Payload as follows: { "client_id": clientId, "client_secret":…
How to bulk edit user's manager in Entra
Hi All, I was trying to bulk edit the user's properties. I have completed the Department, Username, etc. But I cannot edit the Manager Field. I have got this error Update-MgUser : Cannot process argument transformation on parameter 'Manager'. Cannot…
Please Advise on How to Send Simple Notifications to Teams
Hello Microsoft community, We are exploring ways to notify Teams users about updates to our web application. The application is intended to operate as a multi-tenant app, and due to permission constraints, update notifications will be sent to individual…
SharePoint api uploads file from postman with 201 response but not visible in Library
Hi, I am trying to upload a file using api(curl mentioned below) to a sharepoint. file name is "Test1" and it is an txt file, once uploaded it does not show on the library. I tried to upload the exact file again or different csv file as well,…
How to export a files and folder links from a SPO site via PowerShell or MS Graph API?
How to export a files and folders links from a SPO site via PowerShell or MS Graph API? Which will show each files and folders link with path so its easy to navigate and use it
AzureActiveDirectoryCannotUpdateObjectsOriginatedInExternalService
We have users that were synced through onprem server which has been decommissioned. We are using graph api through an entra application to modify user attributes but its failing with the below error…
How to retrieve SharePoint site load times, search performance, retention policies, compliance policies in asp dotnet core web api?
I want to retrieve SharePoint site load times, search performance, retention policies, compliance policies in asp dotnet core web api. Please suggest any documentation.
Scope Tag/Assignments Schedule feature in the Microsoft Graph API currently available in the beta endpoint.
I am writing to inquire about the timeline for the Scope Tag/Assignments Schedule feature in the Microsoft Graph API currently available in the beta endpoint. This feature is critical to our workflows, and we are eager to understand when it might be…
How to fix issue for Outlook calendar Sync with PHP?
When using Microsoft Graph Explorer, and making request, it’s returning the events data correctly. But when in code we generate access token, it’s not able to make request and there is some permission issue, So, the access token we are generating…