Content
Microsoft Graph, revoking user's sign in sessions, returns InvalidAuthenticationToken error
I'm attempting to revoke a user's sign in sessions, however I keep receiving a 401 unauthorize error. Here is my code snippet: async revokeSignInSessions(targetUser, accessToken) { const query = `/users/${targetUser.id}/revokeSignInSessions`; …
Token lifetime policy is not assign?
We are trying to apply a policy over to an application using Microsoft documentation. The policy is created with New-MgPolicyTokenLifetimePolicy and applied to an app with New-MgApplicationTokenLifetimePolicyByRef. However, when I execute:…
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…
@azuresupport #azhelp: Can I open SMTP ports like 25,587 on my Azure pay as you go subscription? I have a SMTP configured on my django application and need to check if the app can send outgoing email if I host the app in Azure VM?
#azhelp: Can I open SMTP ports like 25,587 on my Azure pay as you go subscription? I have a SMTP configured on my django application and need to check if the app can send outgoing email if I host the app in Azure VM?
How to query for related calendar events?
When creating an event in a calendar with attendees, those attendees have a "copy" of the event with different identifiers. I want to be able to update those events as well, but I only have the id of the event that was created by the…
Forbidden - 403 Either the signed-in user does not have sufficient privileges, or you need to consent to one of the permissions on the Modify permissions tab
Hi All, I got 'Forbidden - 403 Either the signed-in user does not have sufficient privileges, or you need to consent to one of the permissions on the Modify permissions tab' when running Windows Update query in Graph Explorer, e.g. enroll device in…
How to fix "The remote server returned an error: (404) Not Found." in PowerShell when Connected to MicrosoftTeams and Requestion Application Access Policies
QUESTION: What do I need to do in order to GET and UPDATE my Application Access Policies. I need the ability to update a Global Access Policy to include the APP ID of my newly created Microsoft Graph APP Registration. ISSUE: I see the following error…
Locate Data in Microsoft Graph Data Connect Datasets
We are using MS Exchange connector under Power BI to extract some Data from e-mails. This not working well as the dataset refresh take a lot of time every morning (sometimes 2 hours). So we are looking into Office 365 connector in Data Factory and…
Graph API - DOC TO PDF CONVRESION | CONTENT SHIFT/DISTORTED IN PDF CONVERSION
Hi Team, I am using the graph API for converting docx and doc files to pdf files. API - https://graph.microsoft.com/v1.0/drives/:driveid/items/:itemid/content?format=pdf Getting below issues - The generated PDF file is having content shift or content…
Attendance record when online meeting is happening
I can retrieve attendance record for past meeting instances that already happened. However, I could not find any documentation regarding live attendance. My questions are: Is there a way to retrieve attendance for meeting instance which is…
desbloqueio da minha conta outlook
olá a conta outlook da minha esposa esta bloqueada , ela tem essa conta faz anos e agora não sei como desbloquear. Se alguém puder me ajudar ,agradeço.
Microsoft Teams Integrated Website: Sorry, but we’re having trouble signing you in. AADSTS900144: The request body must contain the following parameter: 'client_id'.
Hi I have created a React single-page webapp with MSAL integration. When I integrate the web app into my Windows 11 Microsoft Teams Teams, I'm facing the error of Sorry, but we’re having trouble signing you in. AADSTS900144: The request body must…
Keep getting permissions error when adding/removing licenses using Microsoftppalmer
So I have an issue that I dealt with previously but it has come up again. I have 2 scripts that use Microsoft Graph for adding or removing M365 licenses, but a few weeks ago, I kept getting an insufficient privileges error after having no problems. …
Need to search for documents in Sharepoint sites for keywords in filename with acronyms support using MS Graph API
I need to search for documents in Sharepoint sites for keywords in filename with acronyms support using MS graph api. so I have defined acronyms in my Search and intelligence centre as EXCOM : Executive Committee I have 4 test files named as Executive…
When deleting an attachment from a draft (shared mailbox) via graph c#, the following error is returned - Mailbox move in progress. Try again later., Cross Server access is not allowed for mailbox.
There are no such problems when adding attachments and updating the draft Library - Microsoft.Graph version 5.25.0 Exception: { Code: "ErrorMailboxMoveInProgress" Message: Mailbox move in progress. Try again later., Cross Server access is not…
Group API Permissions granted but return 403 on the request
Hi everyone, My application has the admin consent for Group.Read.All GroupMember.Read.All User.Read User.Read.All However, when trying to reach the endpoints ( after getting the token with default scope ) I get: { "error": { …
When searching for a tenant using the tenant ID value through Graph API, an error occurs.
Hi, When searching for a tenant using the tenant ID value through Graph API, an error occurs. I don't understand the error. I proceeded with the method taught in…
List users: Filter returns empty result
Hello, using GET on "https://graph.microsoft.com/v1.0/users?&$filter=(AccountEnabled eq false and OnPremisesSyncEnabled eq false)" returns an empty result as if there are no users found for this criteria. However, if I run the following…
How to get the list of site Id by using get-mgsite? Is get-mgsite -serach"*" is this command still working?
Is there a possible way to get the list of sites. By using get-mgsite command.
Is it possible to list drive items that have no version
When I use the following HTTP request, I see that there are 49 children in the root of the corresponding drive: GET https://graph.microsoft.com/v1.0/sites/{site-ID}/drives/{drive-ID}/root When I try to list these children by adding /children to this…