Microsoft Q&A

Microsoft Graph Users API

861 questions

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 with Microsoft Graph Users API tags

Sort by: Updated
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
1 answer

Which permission needed to give 'on-premisesSamAccountName' to fetch it with API

We are currently working on a use case with our IAM product, aiming to retrieve Azure accounts from Azure AD using the REST API integrated into our product. While we have successfully retrieved all accounts, we are encountering an issue when attempting…

Microsoft Graph Permissions API
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
631 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
Microsoft Graph Teamwork API
asked 2023-09-05T09:13:23.1666667+00:00
Denish Galiyawala 0 Reputation points
answered 2023-09-06T07:56:59.18+00:00
CarlZhao-MSFT 27,376 Reputation points
2 answers One of the answers was accepted by the question author.

OneDrive Permanently Delete Item

Hello, Looking at the docs for the Graph API, I noticed there is a new method for permanently deleting a file, bypassing the recycle bin, permanentDelete. However, when I tried to run this method, it did not work, giving me a 400 error with "API Not…

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
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-08-23T22:50:51.3566667+00:00
Joseph Murphy 20 Reputation points
edited the question 2023-09-06T07:49:16.01+00:00
CarlZhao-MSFT 27,376 Reputation points
1 answer

how to know if the user is directly removed from the group or user deletion in group delta graph api query

If one of the group member is directly removed from the group and another member is removed from AAD. how to know the diff between these kind of 2

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,263 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
Microsoft Graph Groups API
Microsoft Graph Groups API
A Microsoft API that creates and manages different types of groups and group functionality.
225 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
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-05T06:36:44.92+00:00
Priyadharshini V 0 Reputation points
answered 2023-09-06T03:11:36.16+00:00
CarlZhao-MSFT 27,376 Reputation points
1 answer

How to get access package information using graph azure api

I am bringing user in AD as guest using B2B .I want to read access package request information of signed user . Ho can I read information using azue graph api in my app ? how can I authenticate guest user using azure authentication to access my app ?

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
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
305 questions
asked 2023-09-05T00:31:07.11+00:00
GKaur 0 Reputation points
commented 2023-09-06T02:43:05.0666667+00:00
CarlZhao-MSFT 27,376 Reputation points
1 answer

Error while accessing online meeting API

Trying to execute below API https://graph.microsoft.com/v1.0/users/{principalname}/onlineMeetings With Authorization token and below request body. { "startDateTime":"2019-07-12T14:30:34.2444915-07:00", …

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
3,828 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
631 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
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 2022-03-03T08:25:03.337+00:00
Rupam Hardikar 1 Reputation point
commented 2023-09-06T01:46:01.7666667+00:00
CarlZhao-MSFT 27,376 Reputation points
0 answers

How can I export b2c users from Azure Portal including authentication mobile number?

Hello everyone, I am trying to export users from azure b2c along with their mobile number which is crucial to my task. I have followed this documentation but I don't see any mobile number exported. Thank you for your help

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,263 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-06T00:00:50.4433333+00:00
Saida Yucel 0 Reputation points
2 answers

Adding some scopes to my existing user account for executing MS Graph via PowerShell?

How can I add the below-required scope for my account to execute MS Graph command? I got this error: { "error": { "code": "Forbidden", "message":"{\r\n \"_version\": 3,\r\n …

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 Permissions API
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
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
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-15T14:51:27.7966667+00:00
EnterpriseArchitect 3,446 Reputation points
commented 2023-09-05T17:51:46.3466667+00:00
WurstCase 21 Reputation points
1 answer

Error message: /me request is only valid with delegated authentication flow

i am trying to access calendars api's using a bearer token. But I'm getting error and facing some difficulties. Error message: /me request is only valid with delegated authentication flow { "error": { "code":…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,263 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
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 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-02T14:53:53.4533333+00:00
Umar khalid 0 Reputation points
commented 2023-09-05T10:04:13.06+00:00
Akshay-MSFT 9,281 Reputation points Microsoft Employee
1 answer

Graph API giving error in publish app to our catalog

We are using Microsoft Teams Graph API to publish the app to our catalog This is how we are using it const zip = new JSZIP(); zip.file("manifest.json", jsonData); zip.file("color.png",…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
4,760 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-02T05:06:43.73+00:00
Priyamvada Bhardwaj 0 Reputation points
answered 2023-09-05T09:54:13.0433333+00:00
Limitless Technology 39,971 Reputation points
2 answers One of the answers was accepted by the question author.

Difference between two listed endpoints for creating an event

https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http For creating an event, what would be the difference between these two endpoints? POST /users/{id | userPrincipalName}/events POST /users/{id |…

Microsoft Graph Calendar API
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-08-31T01:13:35.5033333+00:00
pklong 20 Reputation points
accepted 2023-09-05T01:56:14.85+00:00
pklong 20 Reputation points
1 answer

How many AAD users information can be retrieved in one graph API call

I tried to get all active directory users in one but it only gives me 100 users in my active directory and give a link to access next 100 users. is there any way to get all the users in one call

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-08-29T06:43:11.45+00:00
tanuj 0 Reputation points
commented 2023-09-04T08:31:39.3933333+00:00
CarlZhao-MSFT 27,376 Reputation points
2 answers

Unable to patch businessPhones of Entra External ID user, Insufficient privileges to complete the operation

I am writing an application to update users in Entra's "Azure AD for Customers" (now in Preview) by calling Microsoft Graph. The application is granted with permissions "User.ReadWrite.All". When I send a patch request to update…

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-08-14T10:27:28.51+00:00
Marco vanW 46 Reputation points
edited the question 2023-09-04T04:51:50.0866667+00:00
Givary-MSFT 19,211 Reputation points Microsoft Employee
0 answers

How to get the data from dataverse(CRM) to azure bot(Bot framework composer)

Hi, I've registered an app and configured all settings within the Azure Portal. Successfully implementing OAuth login has allowed me to obtain the token as expected. However, despite adding the app to the CRM system and performing the necessary…

Azure Bot Service
Azure Bot Service
An Azure service that provides an integrated environment for bot development.
658 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
525 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
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
54 questions
asked 2023-08-29T08:58:50.3866667+00:00
Nisha Kashyap 0 Reputation points
edited the question 2023-09-04T04:37:37.51+00:00
Givary-MSFT 19,211 Reputation points Microsoft Employee
1 answer

Bulk User Information Update in Microsoft Azure

I have a user in microsoft azure. i want to update their information on bulk. i dont know how to update the user information at bulk. Can you please provide me guide to update the user information at bulk. thank you at advance

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
Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
795 questions
asked 2023-09-03T11:19:10.1033333+00:00
Xitiz Basnet 0 Reputation points
answered 2023-09-03T14:25:01.7566667+00:00
Vinodh247 4,726 Reputation points
3 answers One of the answers was accepted by the question author.

Add User API Error

Hi, An error occurs when running the API to add a user to a chat window using the Graph API. Why does this error occur? API permissions section has been added.

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
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-08-31T07:48:13.17+00:00
taewoo.Oh 25 Reputation points
commented 2023-09-01T10:38:44.1133333+00:00
CarlZhao-MSFT 27,376 Reputation points
4 answers

Error message: /me request is only valid with delegated authentication flow

Hi Team, We are trying implement Java SDK with Microsoft Team and Graph explorer. But we are getting error and facing some difficulties. Error message: /me request is only valid with delegated authentication flow Even though we granted all permissions in…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,263 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
7,445 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
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 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-05-04T05:31:36.0133333+00:00
Ameer K 5 Reputation points
commented 2023-09-01T02:23:18.7066667+00:00
CarlZhao-MSFT 27,376 Reputation points
1 answer

using PHP GraphApiClient GraphApiClient($requestAdapter) return Exception of "invalid_client"

I'm using the sample php code from here: https://github.com/microsoft/kiota-samples/blob/main/get-started/azure-auth/php/GetUser.php But after calling $me = $client->me()->get()->wait(); there is an Exception with messsage…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,263 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-08-19T00:02:54.17+00:00
Test User 1 0 Reputation points
commented 2023-08-31T05:52:55.5733333+00:00
Shweta Mathur 18,576 Reputation points Microsoft Employee
1 answer

On Behalf of Flow Configuration - Web APP calls Web API which calls Microsoft graph

I have a nodejs application registration(Web APP1). It has permissions for email, openid, profile, User.Read and one API (Web API 2) created by me. (for example: https://xxxxxx.onmicrosoft.com/nodewebapi/user_impersonation) Web API 2 in turn needs…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,263 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
631 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
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-08-11T22:41:55.54+00:00
Mayura 0 Reputation points
commented 2023-08-31T02:16:11.8833333+00:00
CarlZhao-MSFT 27,376 Reputation points
1 answer One of the answers was accepted by the question author.

Unified Audit Logs search retention and duration?

How long can I search for the Unified Audit log in my current Azure tenancy? I am using Azure AD Premium P2, so I wonder how far back can I go back when searching from: https://compliance.microsoft.com/auditlogsearch?viewid=Async%20Search Thank you for…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,263 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
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
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
649 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-08-28T14:14:27.7433333+00:00
EnterpriseArchitect 3,446 Reputation points
commented 2023-08-31T01:28:59.1266667+00:00
EnterpriseArchitect 3,446 Reputation points