microsoft-graph-api

Querying Global Address List with Microsoft Graph

独自空忆成欢 提交于 2021-02-08 07:25:17
问题 I'm trying to query the Global Address List using Microsoft Graph. I've worked with and adapted the sample code from https://github.com/microsoftgraph/console-csharp-snippets-sample.git -- however, I'm still having trouble. I've seen this article -- Global Address List Graph API -- which indicates I need to use the "/contacts" endpoint. However, I don't see how this helps me when I'm using the Microsoft.Graph library. Is there some method or collection within the Microsoft.Graph library that

Azure AD B2C Graph Api - Get/Set profile picture

流过昼夜 提交于 2021-02-08 07:09:09
问题 For one of my dashboards I want to show the user their profile picture for obvious personalisation reasons, and offer them the possibility to change it. Most blog posts and articles on the Microsoft Docs site name a variety of endpoints I can leverage to get this data, but I'm just unable to get this to work with a simple postman call. Since I can't even get the photo, I wouldn't know how to change (update) it either. The following endpoints don't work: GET https://graph.microsoft.com/beta

Azure AD B2C Graph Api - Get/Set profile picture

扶醉桌前 提交于 2021-02-08 07:03:23
问题 For one of my dashboards I want to show the user their profile picture for obvious personalisation reasons, and offer them the possibility to change it. Most blog posts and articles on the Microsoft Docs site name a variety of endpoints I can leverage to get this data, but I'm just unable to get this to work with a simple postman call. Since I can't even get the photo, I wouldn't know how to change (update) it either. The following endpoints don't work: GET https://graph.microsoft.com/beta

Add or Delete an app's API permissions (requiredResourceAccess) via Microsoft Graph

前提是你 提交于 2021-02-08 04:59:48
问题 In an application in my trial Azure AD tenant, I want to modify my API permissions via the Graph API. I am able to GET the application's requiredResourceAccess in the Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer#) via https://graph.microsoft.com/beta/applications/{app object ID}/requiredResourceAccess, but I am not able to modify or delete these values, or even GET specific resources. Here's my GET result: { "@odata.context": "https://graph.microsoft.com/beta/

Verify if user account exists in Azure Active Directory

纵饮孤独 提交于 2021-02-08 04:29:12
问题 I need to send an email to users from an ASP.NET Core 2 application, following some business rules. However, I need to ensure that the account the email is being sent to actually exists (for some reason, it may be that the account stopped being valid). The customer is using Azure Active Directory, so I need to query AAD somehow so it lets me know whether the account exists or not. So far I have been looking for Microsoft Graph as a way to do this, however every example I have seen so far

Do not receive notifications about user profile updates

你说的曾经没有我的故事 提交于 2021-02-08 04:18:05
问题 I need to get notifications about user profiles updates in Azure B2C and handle them using Azure Functions HttpTrigger. I followed this two guides: https://docs.microsoft.com/en-us/graph/tutorials/change-notifications https://github.com/microsoftgraph/webjobs-webhooks-sample Result of both of them is successful subscription to user updates and successfully processed initial request with verification code, but when I am editing user profile in my app I don't get any notifications about updates

Reading user emails using MS Graph API C#

元气小坏坏 提交于 2021-02-08 03:48:56
问题 I'm trying to use MS Graph API to read emails from a specific mailbox. var client = await GetClient(); //getting a client with client id, secret var users = await client.Users.Request() .Filter("startswith(displayName,'roger')") .GetAsync(); //getting the users matching a criteria var user = users.First(); //get the first user //log the user name, this works fine log.LogInformation("Found user " + user.DisplayName); //this is null var messages = user.MailFolders?.FirstOrDefault(); I get all

MS Graph API return errors for Hybrid integration only on some IPs

不打扰是莪最后的温柔 提交于 2021-02-08 03:27:26
问题 We have an application that uses MS Graph API to integrate with our customer's email/calendar. One of the customers (Customer A) with the Hybrid setup, have reported issues. All the users suddenly got email integration not working. We have performed a couple of testing calls (endpoint /me/sendMail) to MS Graph API using our production app credential and different environments (local, dev cloud AWS, staging cloud GCP, prod cloud GCP) and valid user tokens. Here are the results and strange

MS Graph API return errors for Hybrid integration only on some IPs

╄→гoц情女王★ 提交于 2021-02-08 03:27:15
问题 We have an application that uses MS Graph API to integrate with our customer's email/calendar. One of the customers (Customer A) with the Hybrid setup, have reported issues. All the users suddenly got email integration not working. We have performed a couple of testing calls (endpoint /me/sendMail) to MS Graph API using our production app credential and different environments (local, dev cloud AWS, staging cloud GCP, prod cloud GCP) and valid user tokens. Here are the results and strange

MS Graph API return errors for Hybrid integration only on some IPs

主宰稳场 提交于 2021-02-08 03:27:09
问题 We have an application that uses MS Graph API to integrate with our customer's email/calendar. One of the customers (Customer A) with the Hybrid setup, have reported issues. All the users suddenly got email integration not working. We have performed a couple of testing calls (endpoint /me/sendMail) to MS Graph API using our production app credential and different environments (local, dev cloud AWS, staging cloud GCP, prod cloud GCP) and valid user tokens. Here are the results and strange