10,497 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Graph API for managed devices list is not working

I have an application which queries deviceManagement/managedDevices API to fetch all the devices. I have given all the right permission as mentioned in the documentation. I am able to fetch access Token but when I used this access token to do a GET, I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,284 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,314 questions
asked 2024-04-16T03:19:05.7766667+00:00
Supriya Kulkarni 0 Reputation points
answered 2024-04-16T07:10:42.4366667+00:00
xenia 311 Reputation points
1 answer

Adding tags to SharePoint file with Graph Service Client

Hiya, I'm currently working on a project where the goal is to automatically update SharePoint. Recently, I stumbled upon a problem with adding tags to an item. I have a multi choice property in SharePoint, but I can't seem update this with the graph api.…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,536 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,175 questions
asked 2024-04-15T12:55:23.17+00:00
ThibaultVerlinde-4578 120 Reputation points
commented 2024-04-16T07:09:21.5966667+00:00
ThibaultVerlinde-4578 120 Reputation points
0 answers

i am working in php core in which i am using microsof graph api to fetch the outlook emails of different users ,but there is one issue when any user remove the app access form his account how will i show it in my php as there is no api for that.

I am working php core through which i make a website. In my website i am using microsoft graph api which means when any user login into my website he can login into the outlook account through my website and my website get the access of fetching all its…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,011 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
asked 2024-04-15T11:06:29.7366667+00:00
Aman Bihal 0 Reputation points
commented 2024-04-16T07:02:01.02+00:00
JimmyYang-MSFT 48,536 Reputation points Microsoft Vendor
0 answers

Programmatic Upgrade of Intune Line-of-Business Apps

Overview I am trying to programmatically update Intune Line-of-Business apps using the MS graph API, but am running into issues with Intune incorrectly detecting that the new version is installed, when in fact the old version is the only one still on the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,284 questions
asked 2024-04-16T06:23:35.3066667+00:00
Edan Bash 20 Reputation points
edited the question 2024-04-16T06:39:07.48+00:00
Edan Bash 20 Reputation points
1 answer

Getting 403 "Forbidden" error sending a file to Sharepoint using Microsoft Graph in c#.

How can I resolve the issue of receiving HTTP error 403 "Forbidden" when trying to upload and add an item to a Sharepoint list using Microsoft Graph and C#? I have retrieved a token using a client ID and secret from Azure/Entra, and have tried…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,536 questions
asked 2024-04-15T13:43:03.79+00:00
Calingo, Rolando V 0 Reputation points
answered 2024-04-16T06:38:22.72+00:00
RaytheonXie_MSFT 30,666 Reputation points Microsoft Vendor
1 answer

Error "Access token validation failure. Invalid audience." while using Microsoft Graph SDK

I'm trying to connect to Microsoft Graph API through Graph SDK to create mail using my organization domain. Here is my code: import requests import json from urllib.parse import urlencode client_id = "***" client_secret =…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
asked 2024-04-12T06:47:21.4533333+00:00
Nguyễn Gia bảo 0 Reputation points
commented 2024-04-16T06:31:58.3666667+00:00
CarlZhao-MSFT 36,416 Reputation points
1 answer One of the answers was accepted by the question author.

Issue with Adding Planner Tab to Teams Using Graph API - Content Perpetually Loading

Hello, I've been encountering an issue for the past 2-3 weeks, which seems to coincide with the release of the new Planner version. When attempting to add a Planner tab to a Microsoft Teams channel using the Microsoft Graph API, the tab is successfully…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,011 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,816 questions
asked 2024-04-09T06:18:27.91+00:00
Joah Lenzo 25 Reputation points
accepted 2024-04-16T05:53:41.35+00:00
Joah Lenzo 25 Reputation points
0 answers

Is there any API to get Microsoft compliance reports?

I want to get the Microsoft Message encryption report and Alerts from Microsoft Compliance programatically using API. Manually I do the process in the following way: Message Encryption Report: Link:…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,718 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
917 questions
Microsoft Intune Reporting
Microsoft Intune Reporting
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Reporting: The process of giving an account of something that has been observed, heard, done, or investigated.
53 questions
Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
562 questions
asked 2024-04-16T04:42:20.69+00:00
Sulagna Nandi 0 Reputation points
0 answers

Getting error in updating the Graph API version for creating worksheet

Hello there, I have written some code for my project, where I'm creating the worksheet using the Graph API version 5.42 in Java. Now I'm updating the version to the latest one, and it is not showing the below error for the respective code. Error showing…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,718 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,452 questions
asked 2024-04-16T04:13:27.9466667+00:00
Ashish Kumar 0 Reputation points
0 answers

Automating the Client Secrets rotation using KeyVault or any methods before the expiry date?

I need to rotate the Client Secrets in my existing subscriptions before the expiry date. How can I achieve it for multiple subscriptions when using the suggested method ttps://learn.microsoft.com/en-us/azure/key-vault/secrets/tutorial-rotation? Can I…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,098 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,189 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,015 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,314 questions
asked 2024-04-16T03:27:13.7333333+00:00
EnterpriseArchitect 4,641 Reputation points
1 answer One of the answers was accepted by the question author.

How to get the most accurate MFA user status using PowerShell or via GUI?

What's the most accurate way to get the User MFA status using the PowerShell for Microsoft graph? Because using the portal GUI below, they both show different statuses for the esame user. Old MFA:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,015 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,630 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,314 questions
asked 2024-04-15T07:25:45.2366667+00:00
EnterpriseArchitect 4,641 Reputation points
accepted 2024-04-16T03:20:23.2733333+00:00
EnterpriseArchitect 4,641 Reputation points
1 answer

How to update media in a driveItem in sharepoint using graph api

Hello, I'm currently working on updating a driveItem in SharePoint using the Microsoft Graph API. While I've been successful in updating fields like name and title, I'm now looking to update the actual media content itself using the API. For instance, if…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
793 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,536 questions
asked 2024-04-15T07:59:22.9566667+00:00
Arnav Lala 0 Reputation points
answered 2024-04-16T02:27:47.7433333+00:00
RaytheonXie_MSFT 30,666 Reputation points Microsoft Vendor
1 answer

How do I fetch properties in driveItem like image tags via graph api?

Hello, I'm currently working on fetching properties of a driveItem using the Microsoft Graph API endpoint GET /drives/{drive-id}/items/{item-id}. I'm specifically interested in retrieving properties like image tags, title, etc. While using the select…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,536 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,648 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,112 questions
asked 2024-04-15T07:52:16.4166667+00:00
Arnav Lala 0 Reputation points
answered 2024-04-16T02:17:13.9233333+00:00
RaytheonXie_MSFT 30,666 Reputation points Microsoft Vendor
1 answer

Can Intune report on all iOS devices set to Lost Mode (possibly using MSGraph / PS)?

Hi, I'm trying to find a way of reporting on all iOS devices where Lost Mode has been enabled (or tried to be enabled). There is no column to display this and if you dive into a device, this doesn't appear to be stored in a defined field, just a status…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
184 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,284 questions
asked 2024-04-15T16:14:54.18+00:00
PiersMH 21 Reputation points
answered 2024-04-16T02:03:06.96+00:00
Crystal-MSFT 42,306 Reputation points Microsoft Vendor
1 answer

powerbi permissions are not being added when I specify all the scopes while generating auth token

I am trying to do oauth 2.0 flow. And these are the permissions I am giving: Directory.ReadWrite.All User.ReadWrite.All openid offline_access https://analysis.windows.net/powerbi/api/Dataset.ReadWrite.All But the powerbi permission is not being applied.…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,314 questions
asked 2024-04-16T00:58:12.44+00:00
Fastn ai 0 Reputation points
answered 2024-04-16T01:52:33.38+00:00
Yakun Huang-MSFT 0 Reputation points Microsoft Vendor
0 answers

SharePoint Graph API - access subfolders not under default Shared Documents folder for a site

We are able to access the folders/subfolders under the default "Shared Documents" folder for a site using below sites URI https://graph.microsoft.com/v1.0/sites/site_id/drive/root/children…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,536 questions
asked 2024-04-15T21:35:43.6766667+00:00
Patil, Vinod V 20 Reputation points
commented 2024-04-16T01:41:02.2266667+00:00
Emily Du-MSFT 41,536 Reputation points Microsoft Vendor
1 answer

Unable to PATCH a ToDo Task with a recurrence pattern MS Graph v1.0

The recurrence pattern "range" property seems to have several bugs in the ToDo Graph API. If I create a ToDo Task by posting this: { "title": "recurring task ", "dueDateTime": { "dateTime":…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
asked 2022-04-08T18:50:22.357+00:00
Seth Dingwell 16 Reputation points
answered 2024-04-16T01:37:56.8133333+00:00
子华 赵 0 Reputation points
0 answers

When collecting a shared channel using Graph API v1.0, the wrong membership type is obtained.

When collecting a shared channel using Graph API v1.0, the wrong membership type is obtained. When will v1.0 be modified to bring normal results?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,011 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
asked 2024-04-16T01:37:32.4233333+00:00
yujin seong 0 Reputation points
1 answer

Is there a way to send firstName and lastName on the request from SIS to Graph API

On the Graph documentation - https://learn.microsoft.com/en-us/graph/api/user-post-users?view=graph-rest-1.0&tabs=http it shows what the request from SIS must contain while creating a user in Microsoft Graph: POST…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
asked 2024-04-08T18:21:49.37+00:00
Volodymyr Sokoriev 0 Reputation points
commented 2024-04-16T01:33:47.4833333+00:00
CarlZhao-MSFT 36,416 Reputation points
0 answers

Intermittent 406 Not Acceptable on https://graph.microsoft.com/v1.0/drives/{driveId}/items/{itemId}/thumbnails

When calling this endpoint   https://graph.microsoft.com/v1.0/drives/{driveId}/items/{itemId}/thumbnails?select=c1920x1080   It seems to fail intermittently with a 406 Not Acceptable error. There is no identifiable pattern linking this failure to the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
asked 2024-04-15T10:18:36.2166667+00:00
Ben Heymink 0 Reputation points
edited the question 2024-04-16T00:49:55.4266667+00:00
Emi Zhang-MSFT 21,471 Reputation points Microsoft Vendor