Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [azure-ad-graph-api]

The Azure Active Directory (AD) Graph API is an OData 3.0 compliant service that you can use to read and modify objects such as users, groups, and contacts in a tenant.

1
vote
1answer
39 views

Access Token Api - Getting Unauthorized error when consume/used from SharePoint Hosted add-in

I want Access token in sharepoint Hosted addin in order to consume Microsoft Graph Api. When I hit Access Token Api (https://login.microsoftonline.com/dimensiondata2.onmicrosoft.com/oauth2/token) ...
0
votes
0answers
47 views

Access SharePoint List using Client ID

I am accessing SharePoint online list data using the following code but i get the following error. The remote server returned an error: (403) Forbidden. The web forms application is running in ...
1
vote
1answer
113 views

microsoft graph api for share point to get attachment

I made a call like https://graph.microsoft.com/beta/sites/4development106.sharepoint.com:/sites/DBSchenker:/lists/OEC_Docs?select=id,name,lastModifiedDateTime&expand=items(expand=fields(select=...
1
vote
0answers
20 views

Microsoft Graph call requesting Company Administrator

In the context of automating A-AD invitations via a dedicated Azure hosted web application, one of our calls is making the call below to the Graph API (leveraging Microsoft.Graph & Microsoft.Graph....
0
votes
0answers
38 views

Microsoft Graph API for Trending Documents throwing 500 internal server error

We have been using the Graph API to fetch the data for trending documents with the following query - https://graph.microsoft.com/v1.0/me/insights/trending. To fetch the data of each documents author ...
0
votes
2answers
68 views

How to retrieve LinkingUri of a file in Sharepoint using Graph API

I have been able to use the Graph API to query the list of items in a Sharepoint Item https://graph.microsoft.com/v1.0/sites/root/lists/d7689e2b-941a-4cd3-bb24-55cddee54294/items However I would ...
2
votes
1answer
229 views

MS Graph API to access SPO with Powershell

I want to automate one task in Office 365 by using powershell and for this I registered an app in AAD (V2 endpoint https://apps.dev.microsoft.com) and given access to MS Graph API with permissions "...
0
votes
1answer
89 views

How to Call 3rd party API using Azure function and display in SharePoint online Site using SPFx?

I have create one azure function to call 3rd party API and used application ID in SPFx webpart but when on 'gulp serve' it shows error. I have tried in both team site as well as developer site. I am ...
1
vote
1answer
398 views

How we retrieve all groups and user from Active directory using client side code in SharePoint Online?

I am not getting domain groups /security groups or groups created in azure using rest Api. Is there any other method or approach to check users from groups in Active directory.
0
votes
1answer
31 views

Azure AD - Only few APIs available in app

We are creating an App in Azure AD for our product. The app will be multi tenant app which customers can grant access to. We try to create App in portal.azure.com, in our dev environment we created ...
0
votes
0answers
43 views

Can GraphAPI read and Write to excel hosted on SharePoint Online Document library?

Can GraphAPI read and Write inside excel files hosted on a SharePoint Online Document library? How about tables inside the Excel? I am trying specifically from a JavaScript Client. Part of why i ask ...
0
votes
0answers
132 views

GraphAPI ADAL authentication and direct SharePoint URLs

We have some jquery code using GraphAPI through an AAD registered App to access a SharePoint Online library. We are able to load file names into an html dropdown select and trying to display spo ...
3
votes
0answers
98 views

AAD registered Azure Functions + GraphAPI + SharePoint Online?

If my Azure function app and SPO are registered in the same AAD can GraphAPI Delegated be used to write to SPO Lists as the calling user without additional authentication libraries or steps? White ...
0
votes
1answer
865 views

How to upload a document in a SharePoint list using Graph API

We have been trying to add a document to a list item using Graph API but are being thrown a 400 error :( We have the access token and can query the list in question without any problem. Below is the ...
3
votes
0answers
166 views

How do I get to an AzureAD group members from a SharePoint LoginName using the graph?

I am trying to use the graph to find all users in a SharePoint group on O365. The SharePoint Group contains Azure AD groups. The LoginName for one of these Azure AD groups within a SharePoint group ...
4
votes
2answers
3k views

How can i create a staff directory (SharePoint Online)?

I have been doing some research and thinking of the best approach and some limitations.I came across an approach in which syncing the user profile and azure AD which then syncs to some sql azure(This ...
6
votes
1answer
372 views

Unable to call graph API from SharePoint page

I am trying to call the graph API for fetching user profile information. The blog post I followed is: Extending SharePoint with ADAL and the Microsoft Graph API My AAD app config is like: URL: ...
3
votes
0answers
327 views

Get list of Azure Active Directory Client Users in provider hosted app SharePoint online

I am trying to get Azure active directory users from provider hosted app with following code: private void bindUsers() { ActiveDirectoryClient client = AuthenticationHelper....
0
votes
1answer
64 views

User Creation Problem in AAD

newUser.DisplayName = objUser.DisplayName; newUser.UserPrincipalName = objUser.UserPrincipalName; newUser.AccountEnabled = true; newUser.MailNickname = "...