Microsoft Q&A

Microsoft Graph SDK

979 questions

A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.

979 questions with Microsoft Graph SDK tags

Sort by: Updated
1 answer

What would be causing this intermittent Graph error?

Hi all! I'm a software engineer supporting a non-public system that has been in production for a couple of years now. This system in question has a feature whereby generated Word documents are uploaded to a private Sharepoint site, to which soon…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
386 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,512 questions
asked 2023-08-30T18:03:43.63+00:00
Jarod Kurland 126 Reputation points
commented 2023-09-07T14:04:40.8366667+00:00
Jarod Kurland 126 Reputation points
1 answer One of the answers was accepted by the question author.

Token lifetime policy is not assign?

We are trying to apply a policy over to an application using Microsoft documentation. The policy is created with New-MgPolicyTokenLifetimePolicy and applied to an app with New-MgApplicationTokenLifetimePolicyByRef. However, when I execute:…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
Microsoft Graph Azure AD API
Microsoft Graph Azure AD API
A Microsoft API that queries the user's profile, finds other users, manages organizational relationships, tracks assignments, or creates original solutions that incorporate existing organizational data.
298 questions
asked 2023-09-06T15:45:10.21+00:00
Alex Rechs 20 Reputation points
accepted 2023-09-07T09:27:22.91+00:00
Alex Rechs 20 Reputation points
4 answers

Graph API - DOC TO PDF CONVRESION | CONTENT SHIFT/DISTORTED IN PDF CONVERSION

Hi Team, I am using the graph API for converting docx and doc files to pdf files. API - https://graph.microsoft.com/v1.0/drives/:driveid/items/:itemid/content?format=pdf Getting below issues - The generated PDF file is having content shift or content…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,893 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 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,207 questions
asked 2023-09-06T10:24:29.2466667+00:00
Vaibhav Singh 0 Reputation points
answered 2023-09-07T07:26:40.5066667+00:00
ChengFeng - MSFT 3,220 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Power BI License usage audit procedure or script ?

Hi Folks, I wanted to audit all Licensed Power BI users in my tenancy, how can I determine which users are still actively using the Power BI pro license and which ones are not? https://powerbi.microsoft.com/en-us/pricing/ I really appreciate any help…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
306 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
Microsoft Graph Azure AD API
Microsoft Graph Azure AD API
A Microsoft API that queries the user's profile, finds other users, manages organizational relationships, tracks assignments, or creates original solutions that incorporate existing organizational data.
298 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,221 questions
asked 2023-08-28T13:54:24.6266667+00:00
EnterpriseArchitect 3,446 Reputation points
commented 2023-09-06T23:40:59.16+00:00
EnterpriseArchitect 3,446 Reputation points
0 answers

When deleting an attachment from a draft (shared mailbox) via graph c#, the following error is returned - Mailbox move in progress. Try again later., Cross Server access is not allowed for mailbox.

There are no such problems when adding attachments and updating the draft Library - Microsoft.Graph version 5.25.0 Exception: { Code: "ErrorMailboxMoveInProgress" Message: Mailbox move in progress. Try again later., Cross Server access is not…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
891 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-09-06T09:40:41.5733333+00:00
IT Developers 0 Reputation points
1 answer

Upload small files to SharePoint Online using batch error

Hi Team, I work on an app using the SDK and I would like to upload files from file system to SharePoint Online. Below is part of my code: BatchRequestContentCollection batch = new BatchRequestContentCollection(MSGraphService.graphClient,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-08-23T14:28:07.8366667+00:00
Taupiac Alexandre 0 Reputation points
answered 2023-09-06T06:49:18.7933333+00:00
Eprach 0 Reputation points
1 answer

how to know if the user is directly removed from the group or user deletion in group delta graph api query

If one of the group member is directly removed from the group and another member is removed from AAD. how to know the diff between these kind of 2

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Groups API
Microsoft Graph Groups API
A Microsoft API that creates and manages different types of groups and group functionality.
225 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
861 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-09-05T06:36:44.92+00:00
Priyadharshini V 0 Reputation points
answered 2023-09-06T03:11:36.16+00:00
CarlZhao-MSFT 27,381 Reputation points
2 answers

Adding some scopes to my existing user account for executing MS Graph via PowerShell?

How can I add the below-required scope for my account to execute MS Graph command? I got this error: { "error": { "code": "Forbidden", "message":"{\r\n \"_version\": 3,\r\n …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Permissions API
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
861 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,221 questions
asked 2023-08-15T14:51:27.7966667+00:00
EnterpriseArchitect 3,446 Reputation points
commented 2023-09-05T17:51:46.3466667+00:00
WurstCase 26 Reputation points
1 answer One of the answers was accepted by the question author.

Download mail as PDF

I'm working on a workflow that downloads mails via MS Graph API and converts them to PDF. The workflow's complexity would be decreased very much if there was a way to download/print mails directly as PDF via MS Graph API. Is something like that possible?…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
891 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2022-12-29T17:16:00.377+00:00
Axel Herrmann 26 Reputation points
edited a comment 2023-09-05T10:14:26.62+00:00
Azhar Shah 0 Reputation points
1 answer

Error message: /me request is only valid with delegated authentication flow

i am trying to access calendars api's using a bearer token. But I'm getting error and facing some difficulties. Error message: /me request is only valid with delegated authentication flow { "error": { "code":…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
861 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 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,329 questions
asked 2023-09-02T14:53:53.4533333+00:00
Umar khalid 0 Reputation points
commented 2023-09-05T10:04:13.06+00:00
Akshay-MSFT 9,281 Reputation points Microsoft Employee
1 answer

MS Graph API for GCC tenant

Hi Team, We have an existing 1P APP to access MS Graph API for commercial tenants, Can we use the same 1P APP for GCC tenants  i.e. Can we use same MS Graph APIS/SDK that we used for commercial to access GCC tenant data as well for our use cases? If yes,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-08-29T22:17:04.0133333+00:00
Rishabh Srivastava 20 Reputation points Microsoft Employee
commented 2023-09-04T13:15:43.4633333+00:00
TH-4749-MSFT 3,115 Reputation points
0 answers

Microsoft Graph API return 401 Unauthorized -"Identity required"

Hello! I am currently integrating a Spring Boot application with the Microsoft Graph API. In my application I am using the Microsoft Graph SDK. Hello! I am currently integrating a Spring Boot application with the Microsoft Graph API. In my application I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Teamwork API
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-07-27T07:34:50.8433333+00:00
Borislav Kibarov 40 Reputation points
commented 2023-09-04T12:50:53.25+00:00
Mads Anker Nielsen 0 Reputation points
1 answer

<iterator object azure.core.paging.ItemPaged at 0x1e56b175840> How to Iterate this type of object

** Package Name**: azure-mgmt-applicationinsights Package Version: 4.0.0 Operating System: Windows Python Version: 3.11.2 Describe the bug A clear and concise description of what the bug is. I am using Python azure-mgmt-applicationinsights SDK…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,279 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-08-31T10:42:47.9733333+00:00
Vinay Talla 0 Reputation points
edited the question 2023-09-01T07:01:39.09+00:00
ajkuma 17,116 Reputation points Microsoft Employee
4 answers

Error message: /me request is only valid with delegated authentication flow

Hi Team, We are trying implement Java SDK with Microsoft Team and Graph explorer. But we are getting error and facing some difficulties. Error message: /me request is only valid with delegated authentication flow Even though we granted all permissions in…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
7,454 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
861 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 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,329 questions
asked 2023-05-04T05:31:36.0133333+00:00
Ameer K 5 Reputation points
commented 2023-09-01T02:23:18.7066667+00:00
CarlZhao-MSFT 27,381 Reputation points
1 answer

Problem deserializing Microsoft.Graph objects

I use Microsoft.Graph apis in my app. I make a request and get back the json data. But I am really confused trying to deserialize it. E.g. for this json: { "@odata.context":…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-08-31T13:10:25.4566667+00:00
Dmitriy Reznik 231 Reputation points
answered 2023-08-31T14:50:22.54+00:00
TH-4749-MSFT 3,115 Reputation points
1 answer

Need help with Microsoft Graph Client

i am trying to access email from outlook with the subject line Verififcation Email , below is the error and my code please assist on the same from azure.identity.aio import ClientSecretCredential from msgraph import GraphServiceClient import…

Outlook
Outlook
A family of Microsoft email and calendar products.
1,677 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-08-26T14:16:32.6466667+00:00
Mylapravan, Amith 0 Reputation points
commented 2023-08-31T06:51:46.5933333+00:00
SokiGuo-MSFT 15,531 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Unified Audit Logs search retention and duration?

How long can I search for the Unified Audit log in my current Azure tenancy? I am using Azure AD Premium P2, so I wonder how far back can I go back when searching from: https://compliance.microsoft.com/auditlogsearch?viewid=Async%20Search Thank you for…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
861 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.
649 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-08-28T14:14:27.7433333+00:00
EnterpriseArchitect 3,446 Reputation points
commented 2023-08-31T01:28:59.1266667+00:00
EnterpriseArchitect 3,446 Reputation points
2 answers One of the answers was accepted by the question author.

How to export Unified Audit logs as .CSV file using PowerShell or MS Graph?

What is the PowerShell code equivalent for exporting the Unified Audit logs with the specific Workload like in the below screenshot? https://compliance.microsoft.com/auditlogsearch?viewid=Async%20Search

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,975 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
861 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,221 questions
asked 2023-08-30T12:07:23.5066667+00:00
EnterpriseArchitect 3,446 Reputation points
accepted 2023-08-30T13:08:35.7333333+00:00
EnterpriseArchitect 3,446 Reputation points
1 answer

Azure B2C reset password via graph api sdk

Can I reset a person's password using Azure B2C, utilizing Client Credential authentication and Graph API? I'm trying as shown below, but I'm getting an error. Error :the user is not authorized to access this resource.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,293 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
861 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2023-08-21T09:06:47.35+00:00
Emre Kara 0 Reputation points
commented 2023-08-29T19:57:24.68+00:00
Marilee Turscak-MSFT 27,231 Reputation points Microsoft Employee
1 answer

Is Microsoft Graph API free for fetching outlook calendar events for business entriprise?

I want to fetch outlook calendar events using Microsoft graph api for my application. So, i want to confirm whether it is free or paid and if paid how many charges are there.

Microsoft Graph Calendar API
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
891 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
979 questions
asked 2022-11-21T13:11:45.23+00:00
sohan holkar 1 Reputation point
commented 2023-08-29T15:54:26.12+00:00
Hangeryou Hen 0 Reputation points