Microsoft Q&A

Microsoft Graph Users API

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

641 questions with Microsoft Graph Users API tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Problem extract data using Microsoft Graph - C# .NET

I'm building a program that login through the Azure AD with the Microsoft account. After logging in, I need to extract more data about the user, in order to know what permissions I need to give him, so I thought of using Microsoft Graph, but I can't do…

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.
641 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.
811 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 questions
asked 2023-03-21T10:41:54.9733333+00:00
OdMa 0 Reputation points
accepted 2023-03-26T10:14:11.3566667+00:00
OdMa 0 Reputation points
3 answers

AzureAD signInActivity inconsistent

When pulling the information from graphapi using the below path, i get inconsistent results. https://graph.microsoft.com/beta/users/<user id>?$select=signInActivity If I run the above over and over I get one of 2 results back that show diferent…

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.
641 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,557 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 questions
asked 2023-03-23T20:21:12.35+00:00
tim hodkin 0 Reputation points
answered 2023-03-26T00:44:31.0166667+00:00
1 answer

URL protocol API Management Node- Being stalked - Person created a HTML enviroment and stole all of my files from my personal account, what do I do??

Can someone pleae assist me?? I have a situation of account takeover, both professional and now personal account I have just found today. It appears my ex-partner is using developer platforms to deploy malicious sharepoint servers, url protocol handlers,…

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.
641 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,410 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,528 questions
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
1,941 questions
asked 2023-03-23T03:18:00.6433333+00:00
Alexandra Boyer 0 Reputation points
answered 2023-03-25T00:50:11.9866667+00:00
Ryan Hill 16,526 Reputation points Microsoft Employee
1 answer

Azure AD SCIM User Provisioning : Post requests to create user in target application doesn't contain information about groups to which user belongs to in Azure AD

While Azure AD SCIM client sends user creation POST request to create user object in target system, it doesn't contain the information about the group to which User is associated in Azure AD. Is there any way to enable the option to get this information…

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.
641 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,557 questions
asked 2023-03-21T08:02:35.47+00:00
Ruchi 1 Reputation point
commented 2023-03-24T17:10:47.0666667+00:00
JamesTran-MSFT 27,666 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Microsoft Graph Create Subscription When A New User Created

Hello, First, I subscribed to receive notifications when users are updated, and I received notifications when I updated any user. However, my problem is that when I change the ChangeType to "created," I expected to receive notifications when a…

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.
641 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 questions
Microsoft Graph Notifications 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.
496 questions
asked 2023-03-24T09:08:34.6733333+00:00
Baha Bayar 40 Reputation points
accepted 2023-03-24T12:10:28.0333333+00:00
Baha Bayar 40 Reputation points
1 answer

Error when trying to update custom seccurity attribute assignments using graph sdk in C#: Invalid Property

After having problems with reading custom security attribute which I've solved by using Microsoft.Graph.Beta 5.22, I ran into the next problem. If I try to update the value of a custom security attribute (like in…

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.
641 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.
811 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,562 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,557 questions
asked 2023-03-22T10:25:19.16+00:00
Renezeder Markus 20 Reputation points
answered 2023-03-24T10:31:34.1566667+00:00
Renezeder Markus 20 Reputation points
1 answer One of the answers was accepted by the question author.

Accessing non-interactive sign in logs using graph

Hi, Pulling my hair out with this one a little as I can't seem to figure out where I'm going wrong. I'm pulling together some details for our Azure AD Registered Android devices and using that info to look up the device owner - all working just fine. I'm…

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.
641 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,745 questions
asked 2023-03-23T22:04:18.01+00:00
DaveK 1,831 Reputation points
commented 2023-03-24T09:38:41.1133333+00:00
DaveK 1,831 Reputation points
1 answer One of the answers was accepted by the question author.

Update service plan in user license

Thank you very much for your answer. Because I want to update the service plan status in the user license on MS365. There are always problems when using the "Update-MgUserLicenseDetail" command. I'm sorry that I'm a beginner and I'm 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.
641 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.
811 questions
asked 2023-03-07T06:56:47.1366667+00:00
He, Erchuang/何 二创 141 Reputation points
edited the question 2023-03-24T09:25:07.0066667+00:00
He, Erchuang/何 二创 141 Reputation points
1 answer One of the answers was accepted by the question author.

Update service plan provisioningStatus in user license

Hello, I need to change a service plan status (Disabled->Success) in the specified user license plan. I don't want to clear which command is suitable for use. I have tried command "Update-MgUserLicenseDetail" at present. There is a problem…

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.
641 questions
asked 2023-03-08T02:31:54.5+00:00
He, Erchuang/何 二创 141 Reputation points
edited the question 2023-03-24T09:23:31.7266667+00:00
He, Erchuang/何 二创 141 Reputation points
1 answer

ODataError: Exception on Client credentials provider authenticion for Microsoft Graph

I have this code: var scopes = new[] { "https://graph.microsoft.com/.default" }; var tenantId = "<tenant-id>"; var clientId = "<client-id>"; var clientSecret =…

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.
641 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 questions
asked 2023-03-23T11:43:39.5233333+00:00
Милош Бабовић 0 Reputation points
edited the question 2023-03-24T07:43:00.77+00:00
CarlZhao-MSFT 20,696 Reputation points
2 answers

Update-MgUser giving error "Attempted to perform an unauthorized operation"

Attempting to update a field (About Me) in an Azure AD user account. I've created an app, attached a certificate and assigned the API permission "Directory.ReadWrite.All". I am able to successfully connect to Graph, read user data, just not…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 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.
641 questions
asked 2023-03-21T03:45:23.72+00:00
Anhvariel 0 Reputation points
commented 2023-03-24T06:03:05.2+00:00
Zehui Yao_MSFT 3,791 Reputation points Microsoft Vendor
0 answers

Why OAuth Workflow fails with 400 status code for an Owner account?

I have set up Oauth Flow in my application. I have 2 types of accounts for my Azure AD. One is an Owner account and the other is a Global Administrator(Sub user of the owner) account. My implementation works for the global administrator perfectly fine…

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.
641 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.
272 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
729 questions
Microsoft Graph Teamwork API
asked 2023-03-13T15:34:00.2566667+00:00
Anns 1 Reputation point
commented 2023-03-23T08:24:45.5866667+00:00
CarlZhao-MSFT 20,696 Reputation points
1 answer

How to get auth token generated by the OAuth2 User-Agent flow

Hello, I'm using de user-agent flow for logging in my application. The flow works, but due to limitations on the tool I'm using, I can't access the generated token. Is there any API or method that I can use to retrieve the token after the login?

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.
641 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,557 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 questions
asked 2023-03-22T12:04:49.47+00:00
Pedro Vitorino 0 Reputation points
edited an answer 2023-03-23T02:52:28.1+00:00
Zehui Yao_MSFT 3,791 Reputation points Microsoft Vendor
1 answer

CustomSecurityAttributes null when loaded via /met endpoint

Hi, We are trying to load the custom security attributes through the /me endpoint: https://graph.microsoft.com/beta/me?$select=customSecurityAttributes This is returning the following response: { "customSecurityAttributes": null } When we…

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.
641 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.
811 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 questions
asked 2023-03-09T18:25:37.15+00:00
Jonah Jordan 5 Reputation points
answered 2023-03-22T22:12:55.87+00:00
HarmeetSingh-MSFT 3,871 Reputation points Microsoft Vendor
2 answers

Graph API returns Authorization_IdentityNotFound error

We are using GET /v1.0/users/${email} API to fetch the user details in a tenant and getting the following error in the response. { "error":{ "code":"Authorization_IdentityNotFound", "innerError":{ …

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.
641 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 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.
272 questions
asked 2023-03-21T08:11:43.01+00:00
Shubham Betterworks 0 Reputation points
commented 2023-03-22T10:19:02.8566667+00:00
CarlZhao-MSFT 20,696 Reputation points
2 answers One of the answers was accepted by the question author.

Error when trying to read custom seccurity attribute assignments using graph sdk in C#

If I try to read custom security attribute assignments using the graph sdk in C# (like the example https://learn.microsoft.com/en-us/graph/custom-security-attributes-examples?tabs=csharp "List custom security attribute assignments") I run into…

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.
641 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,562 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,557 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.
811 questions
asked 2023-03-20T11:50:03.5866667+00:00
Renezeder Markus 20 Reputation points
commented 2023-03-21T12:27:30.5466667+00:00
Renezeder Markus 20 Reputation points
1 answer One of the answers was accepted by the question author.

ADF: Rest call failed with client error, status code 403 Forbidden, please check your activity settings

I'm trying to get my source in copy activity in Azure Data Factory with Rest API as my linked Service to GraphApi Here's the error details Here's the permissions I have in my data factory app

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.
641 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.
496 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
6,671 questions
asked 2023-03-15T07:37:45.7333333+00:00
Reni Calonge 20 Reputation points
commented 2023-03-21T10:40:00.45+00:00
PRADEEPCHEEKATLA-MSFT 56,301 Reputation points Microsoft Employee
1 answer

Unable to change users manager

Hi, I'm wondering why I'm not able to change specific user Manager. If i choose other user I can change but for one i need i can't. I uploaded a screen where I want to change that.

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.
641 questions
asked 2023-03-20T09:04:18.9566667+00:00
Kamil Buszmann 0 Reputation points
commented 2023-03-21T09:47:47.6166667+00:00
Kamil Buszmann 0 Reputation points
1 answer

Logic Apps: Parsing JSON and Filtering User Data Based on Last Sign-in Activity

I've defined the following logic in Logic Apps, but Parse JSON isn't capturing the signInActivity details, so I can't filter the object based on lastSignInDateTime. Basically, I'm looking for users who have an office 365 e1 license and whose…

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.
641 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
865 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,960 questions
asked 2023-03-20T13:54:46.16+00:00
67868880 106 Reputation points
edited a comment 2023-03-21T03:24:20.2766667+00:00
67868880 106 Reputation points
1 answer One of the answers was accepted by the question author.

Proxy Addresses | ADB2C

I am trying to create uses in ADB2C. I am using MS Graph API /users POST I am getting this intermittent error {"error":{"code":"Request_BadRequest","message":"Another object with the same value for property…

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.
641 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,557 questions
asked 2023-03-17T09:59:02.11+00:00
Abhay Chandramouli 641 Reputation points
edited the question 2023-03-21T02:35:09.57+00:00
Zehui Yao_MSFT 3,791 Reputation points Microsoft Vendor