Skip to main content

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.

0 votes
0 answers
86 views

How can I upload file in SharePoint Document Library using Graph API in C#?

I have done app registration in Azure Portal and i have a tenantId, ClientId and clientSecret. I want to upload file using Microsoft.Graph SDK in C#. How can it be possible?
Ashish Prajapati's user avatar
0 votes
1 answer
1k views

How to add @odata.nextLink in graph api request

I've a service to get all users from Azure AD. public getAllUsers(): Promise<Array<Person>> { return graph .users .select("displayName", "accountEnabled"...
Propool's user avatar
  • 37
0 votes
1 answer
537 views

Is it possible to get the Members group of a specific site in SharePoint using the Graph API and then add or remove a member?

I am trying to manipulate the members of a site in SharePoint using Graph API. I want to be able to get the members group of a specific Site using the site id. Then I want to be able to add/remove ...
Sigmundur's user avatar
  • 115
0 votes
1 answer
666 views

Moving a DriveItem from folder to the root of the drive in SharePoint Graph API

I have managed to move a DriveItem between folders without problems using this method: public DriveItem MoveDriveItem(string siteId, string sourceItemId, string destinationItemId) { var driveItem =...
Sigmundur's user avatar
  • 115
0 votes
1 answer
260 views

Create Azure AD App Only to authenticate our asp.net core console application

I want to create an Azure AD App Only to authenticate our console application which run on schedule bases and update some SharePoint online sites' lists and libraries. now i am following those steps @ ...
John John's user avatar
0 votes
1 answer
1k views

I can get M365 user information using Graph but I can't get their profile picture

I have created an SPFx web part (no framework, SharePoint Online) which will show all the members of a given group. It displays their name, email, job title etc ... Is it possible to show their ...
Pete Whelan's user avatar
0 votes
1 answer
671 views

Guest User access to Tenants Graph API

I am currently facing an issue with a requirement that was presented to me, and i would like to ask you guys on possible ways of solving it. The requirement is to enable External/Guest users to have ...
jimas13's user avatar
  • 318
0 votes
1 answer
1k views

Graph API call from SPFX tab with MS Graph Client

Can we call Graph API directly through MS Graph Client for SPFX tab in team Desktop?? Here is the sample of git which call Graph API directly in teams tab without any authentication flow or access ...
abhishek23 Negi's user avatar
0 votes
1 answer
2k views

Post Team Chat Messages using Graph API

Not able to post message in teams chat using Graph API in SPFX using Token but able to get chats by using token Getting error in console Requested API is not supported in application-only context ...
abhishek23 Negi's user avatar
0 votes
1 answer
633 views

Error insufficient privilege's to complete operation - power automate with MS Graph

I would like to use the HTTP premium connector to get Office 365 user licenses for users using graph. I have followed similar articles here But when I run my flow i keep getting error : insufficient ...
naijacoder's user avatar
  • 4,306
0 votes
1 answer
366 views

Graph API unauthorized error for specific user only

All the permission are given , this API is working fine for other users Below is the screenshot of Graph explorer calling this API and getting unauthorized error This API was working fine but after ...
abhishek23 Negi's user avatar
0 votes
1 answer
23 views

Bulk User profile updates using CSOM

I have an Active Directory sync app which is using for internal purpose and its saving the data to SQL table feeding from Azure AD via Graph API. Along with its basic functionality, we are updating ...
MAC's user avatar
  • 395
1 vote
1 answer
2k views

Remove user photo for User

I have a requirement to remove the user photo from Azure AD User profile. I checked for MS Graph APIs for User Photos. But as far as I know, MS Graph APIs are only available to add/upload photo. There ...
Dikesh Gandhi's user avatar
1 vote
0 answers
340 views

Custom file handler for SharePoint using azure AD enterprise application addin

I am trying to create a custom file handler add-in for SharePoint online just like 'Adobe Document Cloud', I will be opening PDF type files in my own cloud viewer. I followed the steps in https://docs....
user4205's user avatar
  • 601
0 votes
1 answer
2k views

Fetching Specific User's Profile Photo via Graph API in SPFX

How can we fetch a user profile photo through Graph API and display into Web part in SPFX? Here is my function to call Graph API to fetch Specific user's Profile Photo filtering through their ...
abhishek23 Negi's user avatar

15 30 50 per page