Microsoft Q&A

Microsoft Graph

8,260 questions

A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.

8,260 questions with Microsoft Graph-related tags

Sort by: Updated
2 answers

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`; …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
asked 2023-08-30T18:55:41.1066667+00:00
Angel Fontalvo Avila 20 Reputation points
answered 2023-09-06T16:07:24.51+00:00
Angel Fontalvo Avila 20 Reputation points
0 answers

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:…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,262 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
978 questions
Microsoft Graph Azure AD API
Microsoft Graph Azure AD API
A Microsoft API that queries the user's profile, finds other users, manages organizational relationships, tracks assignments, or creates original solutions that incorporate existing organizational data.
299 questions
asked 2023-09-06T15:45:10.21+00:00
Alex Rechs 20 Reputation points
0 answers

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…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
7,445 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
asked 2023-09-06T15:32:06.82+00:00
Jonathan Anderson 155 Reputation points
0 answers

@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?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,513 questions
Microsoft Graph Reports API
Microsoft Graph Reports API
A Microsoft API that enables you to understand application and resource activity in your Azure Active Directory (Azure AD) tenant.
101 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,498 questions
asked 2023-09-06T15:31:28.6433333+00:00
Susan Paudel 0 Reputation points
0 answers

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…

Microsoft Graph Calendar API
asked 2023-09-06T15:17:18.5+00:00
pklong 20 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
asked 2023-09-06T14:43:36.0066667+00:00
guliteb 26 Reputation points
answered 2023-09-06T14:56:16.98+00:00
Andy David - MVP 128.6K Reputation points MVP
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,214 questions
asked 2023-08-18T21:11:25.2033333+00:00
William Oquendo 0 Reputation points
commented 2023-09-06T14:09:43.0466667+00:00
msft-gu 970 Reputation points
0 answers

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…

Outlook
Outlook
A family of Microsoft email and calendar products.
1,664 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
7,875 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
212 questions
Microsoft Graph Data Connect
Microsoft Graph Data Connect
An Azure service that is used to copy Microsoft Graph datasets, at scale, into Azure Data Factory.
6 questions
asked 2023-09-06T13:48:45.54+00:00
Ninos 0 Reputation points
3 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,879 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
978 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,204 questions
asked 2023-09-06T10:24:29.2466667+00:00
Vaibhav Singh 0 Reputation points
answered 2023-09-06T13:36:14.7033333+00:00
Vaibhav Singh 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Microsoft Graph Teamwork API
asked 2023-09-05T18:45:42.1933333+00:00
Pawan Bhatta 20 Reputation points
accepted 2023-09-06T13:19:46.4566667+00:00
Pawan Bhatta 20 Reputation points
0 answers

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 Graph Contacts API
Microsoft Graph Contacts API
A Microsoft API that lets you assign categories contacts, as well as events, messages, tasks, and group posts in a consistent way to enhance organization and discovery.
78 questions
asked 2023-09-06T13:02:46.4333333+00:00
A j 0 Reputation points
0 answers

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…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
7,445 questions
Microsoft Graph Azure AD API
Microsoft Graph Azure AD API
A Microsoft API that queries the user's profile, finds other users, manages organizational relationships, tracks assignments, or creates original solutions that incorporate existing organizational data.
299 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
522 questions
asked 2023-09-06T10:10:45.1933333+00:00
Felix Wong 0 Reputation points
edited the question 2023-09-06T10:23:07.46+00:00
Felix Wong 0 Reputation points
3 answers

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. …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,214 questions
asked 2023-06-23T21:07:34.71+00:00
Mike Will 10 Reputation points
answered 2023-09-06T10:21:34.6866667+00:00
Karolis Narbutas 0 Reputation points
0 answers

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…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
1,950 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,879 questions
Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
191 questions
asked 2023-09-06T09:52:44.1833333+00:00
Sumit Valecha 1 Reputation point
edited the question 2023-09-06T09:55:26.52+00:00
Sumit Valecha 1 Reputation point
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
893 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
978 questions
asked 2023-09-06T09:40:41.5733333+00:00
IT Developers 0 Reputation points
2 answers

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": { …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
Microsoft Graph Groups API
Microsoft Graph Groups API
A Microsoft API that creates and manages different types of groups and group functionality.
225 questions
asked 2023-09-02T01:46:51.7833333+00:00
Marcelo Schoen 1 Reputation point
edited a comment 2023-09-06T09:26:18.37+00:00
CarlZhao-MSFT 27,376 Reputation points
2 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
Microsoft Graph Teamwork API
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,325 questions
asked 2023-09-05T07:05:06.78+00:00
taewoo.Oh 25 Reputation points
answered 2023-09-06T09:05:31.1066667+00:00
Meghana-MSFT 2,931 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
861 questions
asked 2023-09-01T12:00:42.4766667+00:00
dt-flo 0 Reputation points
commented 2023-09-06T08:58:09.9166667+00:00
CarlZhao-MSFT 27,376 Reputation points
0 answers

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.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,879 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,485 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,609 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,214 questions
asked 2023-09-06T08:53:47.2466667+00:00
Kavya Kasireddi 0 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,967 questions
asked 2023-09-05T14:32:07.8633333+00:00
Bjorn Berghmans 0 Reputation points
edited a comment 2023-09-06T08:29:39.8966667+00:00
Bjorn Berghmans 0 Reputation points