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


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


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


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…


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


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…


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


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…


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…


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?


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…


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


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…


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


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.


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

