microsoft-graph-api Questions

3

Solved

Microsoft graph returns only 100 users, how could I get all the users from Microsoft graph var users = graphServiceClient .Users .Request() .GetAsync() .GetAwaiter() .GetResult(); How can I ...
Graniela asked 20/6, 2022 at 19:16

4

I'm trying to update the fields associated with a list item via Graph Explorer, https://developer.microsoft.com/en-us/graph/graph-explorer (or a REST API call). For one of the fields, its value can...
Calondra asked 6/3, 2019 at 22:50

1

I'm trying to authenticate against the Microsoft https://login.microsoftonline.com/oauth2/v2.0/authorize endpoint with enforcing MFA. Following the documentation this is done by adding the &amr...

2

Solved

I'm trying to access a group calendar using the microsoft graph api as the application (I don't want to use delegate permissions). If I request calendar events using the below I get the events for...
Arillode asked 15/2, 2019 at 9:48

3

To filter Microsoft Graph API responses, the docs suggest to use the filter query option. Here I've used startswith and endswith string functions on the '/me/messages' endpoint. query = { '$fil...
Finale asked 14/3, 2019 at 11:27

5

Solved

I am using .net 5, Identity Web Ui to access Microsoft Graph. Where can I configure my Redirect URI? I need to specify the full Uri, since the generated one from callbackUri is incorrect due to bei...

3

I'm trying to use external login provider in my IdentityServer4. I followed the quickstart, and everything was working fine, now I'm trying to add Microsoft login. I added this code in IS4's Startu...
Infiltration asked 16/9, 2020 at 16:13

2

Solved

This is my code to get emails from my email account through Microsoft Graph, but I keep getting an error regardless on credentials. Code: var scopes = new[] { "https://graph.microsoft.com/.def...
Isabea asked 30/9, 2022 at 16:32

2

Solved

Im trying to receive push notification on calendar events through microsoft graph the notificationURL points to webservice which is running on NodeJS subscription I have made has these options. ...
Marinna asked 3/11, 2016 at 22:24

4

I want to update the birthday of a user using the patch request. Updating other properties works as expected but the moment the birthday property is included, the following error returned: The...
Dinka asked 13/8, 2019 at 15:29

6

Solved

I post this request: POST https://login.microsoftonline.com:443/{my-tennant-here}/oauth2/v2.0/token HTTP/1.1 Host: login.microsoftonline.com Content-Type: application/x-www-form-urlencoded cli...

3

Solved

I am trying to implement a hardware busy light to show my Microsoft Teams presence so that my family to not enter the room I have the office while I am in a meeting. I am looking to implement somet...

5

Solved

According to the document, I can list the Office 365 Groups by using the following Graph API: GET https://graph.microsoft.com/v1.0/groups I have a C# Web application, and there is a input for sea...
Rein asked 25/10, 2018 at 6:16

6

Solved

From the documentation, I can't find any ways to get the siteId of the site where I put the webpart in. For example, My current site is: https://{hostname}/sites/main1 <-- NOT root site, but ...
Patagonia asked 31/7, 2017 at 1:48

3

I need to discover user's tenant name, since the service endpoint, resourceId that I'll be using an Azure service that requires me to specify the tenant name: service endpoint: https://[tenantnam...

2

To grant Microsoft Graph API permissions to a User-Assigned Managed Service Identity or System-Assigned Managed Service Identity, one has to use PowerShell. All the articles I can find (e.g. this) ...

8

Solved

I have an error while trying to use Microsoft Graph to write a script to upload an Excel file to OneDrive then read the Excel file. I followed Microsoft documentation to obtain the access token w...
Leid asked 18/10, 2017 at 2:49

8

I want to add User to a Group but I don't have the User's id, I only have the email address. Here is the code: User userToAdd = await graphClient .Users["objectID"] .Request() .GetAsync(); aw...
Schizogony asked 9/8, 2018 at 11:45

1

Solved

On graph sdk v4, I use option to set TimeOut to a higher value in Microsoft.Graph GraphServiceClient like bellow. graphServiceClient.HttpProvider.OverallTimeout = TimeSpan.FromSeconds(10); However...
Denten asked 17/5 at 2:12

2

I am looking for a Graph API call which can return to me all of the sites in Sharepoint Online. Looking at Enumerating Sites: https://learn.microsoft.com/en-us/graph/api/site-list?view=graph-rest-...
Infirmary asked 20/9, 2019 at 14:5

3

I'm trying to filter users by attributes in Microsoft Graph API. Essentially trying to get a list of users that have a given jobTitle assigned. For example, https://graph.microsoft.com/v1.0/users?...
Cheju asked 14/9, 2017 at 11:20

6

Just starting to work with SharePoint and Microsoft authentication and trying to get a SharePoint List into a JavaScript App. From Microsoft documentation, I need to use the following: GET https://...

4

When I am doing a POST to me/calendars/[calendar-id]/events with the following payload. It successfully creates the event, and I receive the new event's id: { "start": { "timeZone&...
Joubert asked 3/12, 2020 at 17:19

6

Does anyone know what to do when you get "UnknownError" from Graph API? Request: https://graph.microsoft.com/v1.0/users/[USER_ID]/messages?$select=id,receivedDateTime&$filter=received...
Interloper asked 13/9, 2019 at 19:59

2

A react application queries the Microsoft Graph to discover if a user is a member of a particular active directory group. Right now, there's this route: https://graph.microsoft.com/v1.0/me/member...
Candescent asked 19/2, 2018 at 18:27

© 2022 - 2024 — McMap. All rights reserved.