Microsoft Q&A

Microsoft Graph

5,763 questions

A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.

5,763 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

Refresh token and outlook addins

We have an outlook addin and use msgraph to perform interactions for the user. We use azure to auth with graph. outlook addins are a SPA and live in an iframe and must use a popup window for things like auth. this means that our users must click a…

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.
730 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,623 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
572 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.
1,955 questions
asked 2023-01-31T23:57:51.69+00:00
bishop filevine 1 Reputation point
edited the question 2023-02-01T04:10:57.0266667+00:00
VenkateshDodda-MSFT 6,181 Reputation points Microsoft Employee
4 answers

changepassword through Microsoft graph api not working

Hi , I tried changing password through graph api url but i get the below error as a response for my B2C tenant user I also tried updating user password through graph api but i am getting no privilege issue as i checked the document i can see that…

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.
547 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,623 questions
Microsoft Graph Teamwork API
asked 2023-01-30T12:42:32.5766667+00:00
answered 2023-02-01T03:53:50.1033333+00:00
Carl Zhao_MSFT 18,056 Reputation points Microsoft Employee
2 answers

Trying to get all contacts from a company using microsoft, but doesn't seem to be all

Hi I am calling the following endpoints: const MICROSOFT_ENDPOINTS = [ /** CONTACTS */ "/me/contacts", /** ORG CONTACTS */ "/contacts", /** USERS */ "/users" ]; and with the following permissions…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
572 questions
asked 2023-01-27T08:35:31.52+00:00
Daniel Dunér 1 Reputation point
commented 2023-02-01T03:49:31.98+00:00
Mohammed Mehtab Siddique (MINDTREE LIMITED) 731 Reputation points Microsoft Employee
0 answers

Unable to Delete document using One drive API in C#

I am unable to delete a document by using one drive API in ASP.Net(c#) if the document is open. How to check the document is already open by using one drive API. Please help.

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
49 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.
302 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,189 questions
asked 2023-01-31T19:35:29.9833333+00:00
Pradyut Sinha 11 Reputation points
commented 2023-02-01T03:22:47.09+00:00
Zehui Yao_MSFT 3,431 Reputation points Microsoft Employee
0 answers

¿Como puedo cambiar mi correo de hotmail?

Solicito de su apoyo para poder cambiar mi correo de hotmail, requiero reagendar mi examen de AZ-104 y no puedo porque mi correo mendozamendezdulce@hotmail.com se encuentra bloqueado. ¿Me pudieran apoyar por favor? de antemano gracias

Microsoft Graph Profile API
Microsoft Graph Profile API
A Microsoft API that retrieves the profile of the signed-in user or another user with a valid Azure AD or Microsoft account.
90 questions
asked 2023-02-01T01:56:53.4733333+00:00
1 answer

Can't access subscription after being created through the API

I'm utilizing Microsoft Graph's API to get/set/subscribe to Users presences. After trying the different options to obtain a token to make the POST request to subscribe to a presence I found a solution that works and I get the correct response from the…

Microsoft Graph Permissions API
Microsoft Graph Change Notifications API
asked 2023-01-18T16:17:23.0566667+00:00
Diogo Miguel Penha Lobo 5 Reputation points
answered 2023-01-31T21:48:16.2266667+00:00
HarmeetSingh-MSFT 3,086 Reputation points Microsoft Employee
0 answers

On SharePoint Online, how to generate a site-collection-wide report of all external users along with the URLs they have access to? Is there any PowerShell script or GraphAPI or something else?

Hi there On SharePoint Online, how to generate a site-collection-wide report of all external users along with the URLs they have access to? Is there any PowerShell script or GraphAPI or something else? Thank you.

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.
730 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,002 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
572 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
71 questions
Microsoft Graph Permissions API
asked 2023-01-31T19:59:21.6566667+00:00
frob 3,826 Reputation points
0 answers

How to know when a book is completed using the iframe provided by outlook booking service

Is there any event or way to know if a book was successfully using the iframe provided in the booking dhasboard? I am not able to use the Booking API, it needs to be a Javascript/ReactJS solution. Thanks

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
446 questions
Microsoft Graph Customer Booking API
Microsoft Graph Customer Booking API
A Microsoft API that lets enterprise organization and small business owners manage customer bookings and information with minimal setup.
158 questions
asked 2023-01-31T19:11:02.51+00:00
German Olle 0 Reputation points
4 answers

Issue creating a Device using Graph API

Hi, I raised an issue on the documentation of github but was suggest that I raise it here. Issue is that I'm trying to create devices for some test scenarios, found the following references: …

Microsoft Graph Directory Management API
asked 2023-01-27T18:00:14.2+00:00
whgibbo 0 Reputation points
edited a comment 2023-01-31T18:46:48.23+00:00
Faith 76 Reputation points Microsoft Employee
4 answers

UnknownTenantID when requesting reports from Graph

I have been pulling a few of the MS 365 Graph reports and my users and groups list, with a registered app. Using my developer account, this was working, as recently as last Thursday, 12/24/2020. This week, I can still pull users and groups lists, but…

Microsoft Graph Reports API
Microsoft Graph Reports API
A Microsoft API that enables you to understand application and resource activity in your Azure Active Directory (Azure AD) tenant.
77 questions
asked 2020-12-30T16:28:05.53+00:00
Laura Gute 1 Reputation point
answered 2023-01-31T18:11:51.6433333+00:00
Productiv Demo 0 Reputation points
0 answers

Bot Framework Connector refresh MS Graph token

Hello, I'm building a Teams Bot using the Bot Framework REST API. I can send a OAuthCard to the user to sign in and get the magic code back and exchange it for a Microsoft Graph token. Everything is working. What I don't know is the correct way to…

Azure Bot Service
Azure Bot Service
An Azure service that provides an integrated environment for bot development.
538 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.
1,690 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
572 questions
asked 2023-01-17T14:23:33.4933333+00:00
Benoit Dupont 21 Reputation points
commented 2023-01-31T17:38:21.17+00:00
Benoit Dupont 21 Reputation points
1 answer

How to retrieve all PstnCall records for a given time period using Graph SDK

I have tried to retrieve all records for a given time period with the following code. However, since the type is "CallRecord" instead of "ICloudCommonCallRecordsCollectionPage", I cannot get all the records as in…

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.
730 questions
Microsoft Graph Cloud Communications API
Microsoft Graph Cloud Communications API
A Microsoft API that adds a new dimension to how your apps and services interact with users through various communications-related features, such as calling and online meetings.
122 questions
asked 2023-01-13T06:20:50.03+00:00
Barrel 0 Reputation points
edited an answer 2023-01-31T17:28:01.2633333+00:00
Shivam Dhiman-MSFT 4,406 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

OneDrive API connection is not working for my outlook365 account

In my proyect, my users can sync their onedrive so they canuse their files within my application. I wrote the code and when i try and connect my personal hotmail account it works fine. I get access to the files in my drive no problem. BUT the problem is…

Outlook
Outlook
A family of Microsoft email and calendar products.
136 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
49 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.
302 questions
asked 2023-01-31T02:58:12.3833333+00:00
Luis 20 Reputation points
commented 2023-01-31T16:41:50.0233333+00:00
Luis 20 Reputation points
1 answer

Graph API to read contents of a site shared with me by third party SharePoint

Scenario: I created an app in Azure with permissions: Sites.Read.All (Delegated) User.Read (Delegated) Sites.Read.All (Application) I'm able to follow the authorization flow and get an access and refresh token. This is the authorization…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
572 questions
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
262 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,002 questions
asked 2023-01-31T07:37:33.57+00:00
Admibox 0 Reputation points
edited an answer 2023-01-31T16:28:10.4433333+00:00
SrinivasaRaoDarna - MSFT 6,156 Reputation points Microsoft Employee
1 answer

Missing alerts from https://graph.microsoft.com/v1.0/security/alerts API

Hi, I am using the following api [https://graph.microsoft.com/v1.0/security/alerts and I have noticed that I am not getting several alerts. Does the api require backward latency in order to receive all the alerts?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
572 questions
asked 2023-01-23T16:10:52.4233333+00:00
xdr-test-main 0 Reputation points
answered 2023-01-31T15:53:55.3033333+00:00
Gopinath Chennamadhavuni-MSFT 1,446 Reputation points Microsoft Employee
1 answer

All day event time zone on Outlook desktop app

Hello, We are using Graph API to sync users calendar events. The issue is on all-day event that we cannot get back the correct time zone from extended properties if the event is created with Outlook Desktop app. It is reproducible with the Outlook…

Microsoft Graph Calendar API
Outlook
Outlook
A family of Microsoft email and calendar products.
136 questions
asked 2023-01-20T12:11:32.75+00:00
Vic 21 Reputation points
commented 2023-01-31T15:24:44.0966667+00:00
Vic 21 Reputation points
1 answer

Weblink from groups calendarview Graph API doesn't work event after encoding

webLink for groups calendar view returned in graph API doesn't work correctly. Steps to reproduce: Create an event in a calendar group call Graph API…

Microsoft Graph Calendar 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.
730 questions
asked 2023-01-30T18:34:58.1333333+00:00
Mostafa Abdellah 0 Reputation points
commented 2023-01-31T14:47:36.3166667+00:00
Mostafa Abdellah 0 Reputation points
1 answer One of the answers was accepted by the question author.

The term 'Get-MgDeviceManagementManagedDeviceEncryptionState' is not recognized

Hi, I'm trying to pull information on devices encryption state using the Powershell SDK and Get-MgDeviceManagementManagedDeviceEncryptionState. However, using it (after doing both Install-Module Microsoft.Graph.DeviceManagement and Import-Module…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
572 questions
asked 2023-01-30T15:38:40.8333333+00:00
Joni Ljungqvist 41 Reputation points
commented 2023-01-31T14:21:17.4233333+00:00
Vasil Michev 61,741 Reputation points Microsoft MVP
1 answer

What is the Microsoft licences and fees for commercial use?

Hello ; İ want to ask you a question about MS office Molt , Cross-Town , Haettenschweiler fonts licences and fees for commercial uses, where can i find these infos ? Thx Denis

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
371 questions
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
491 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.
547 questions
asked 2023-01-31T12:08:52.1133333+00:00
Denis 0 Reputation points
answered 2023-01-31T13:54:32.3066667+00:00
Sreejith Reghunath 0 Reputation points
1 answer

Could not resolve type with token 01000021 from typeref

I am trying to create virtual appointments based on this documentation: https://learn.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=csharp Here is my code: InteractiveBrowserCredentialOptions…

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.
730 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.
6,950 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.
257 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
428 questions
asked 2023-01-19T17:49:10.1166667+00:00
Dmitriy Reznik 206 Reputation points
edited a comment 2023-01-31T13:02:34.76+00:00
Dmitriy Reznik 206 Reputation points