10,920 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

How to get deleted event(s) part of a given series

I need to retrieve deleted event(s) from a given recurrent series. I'm creating a PowerBI report based on Outlook calendar. Leveraging the recurrnces data structures I have been able to build all events of a given series but I'd like to delete the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-30T12:32:15.4566667+00:00
Cristiano Degiorgis 20 Reputation points
answered 2024-05-30T18:49:09.2933333+00:00
CharanyaB-MSFT 1,651 Reputation points Microsoft Vendor
2 answers

Why is MailNickName property necessary when i use MSGraph command to create AzureAD groups.

I'm using Microsoft Graph command as below to create AzureAD group on PowerShell. New-MgGroup -displayname XXXXXXXXX -mailnickname XXXXXXX Since the MailNickName property is necesssary.Does this property' value only support the alphabet but other…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,182 questions
asked 2023-11-09T12:58:26.2866667+00:00
qiyang li 0 Reputation points
commented 2024-05-30T17:11:23.32+00:00
Ben Diaczun 0 Reputation points
1 answer

Microsoft Graph Functionalities

Can anyone explain what is the difference with changekey in calendar and a delta function in Graph APIs. Are they the same, or do they serve for different purposes.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-30T16:23:33.81+00:00
Jhonson 0 Reputation points
answered 2024-05-30T16:44:06.7933333+00:00
CharanyaB-MSFT 1,651 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to get GRAPH API token in office.js (got 401 unauthorized)

I set up my Azure app registration application following this document: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-on-behalf-of-flow I have my Web URI set as: https://localhost:xxxx/Application (client) ID. I added my custom page…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,595 questions
asked 2024-05-28T16:29:48.7533333+00:00
S W 20 Reputation points
accepted 2024-05-30T15:47:23.6466667+00:00
S W 20 Reputation points
0 answers

Documentation is wrong - What are all the possible values of Authentication Methods in Entra ID SIgn-in logs?

The documentation for Authentication Details -> Authentication Methods in Entra ID Sign-In logs is not correct. https://learn.microsoft.com/en-us/graph/api/resources/authenticationdetail?view=graph-rest-beta it says all the possible values are…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-30T14:19:20.56+00:00
bstets 41 Reputation points
1 answer One of the answers was accepted by the question author.

https://graph.microsoft.com/v1.0/devices?$filter=registrationDateTime not working

Hi, I am trying to build an automated flow which runs daily in the early hours of the morning that uses a excel table to run specified HTTP requests for sign ins by newly registered devices and alerts us by email with the results to check in the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-30T12:02:29.9766667+00:00
commented 2024-05-30T14:15:24.26+00:00
2 answers One of the answers was accepted by the question author.

WARNING: Unable to acquire token for tenant 'organizations' with error 'InteractiveBrowserCredential authentication failed: Method not found: 'Void Microsoft.Identity.Client.Extensions.Msal.MsalCacheHelper.RegisterCache(Microsoft.Identity.Client.ITokenCa

Hi Team, Can someone here please assist me with this error to connect my PowerShell session using the Connect-AzAccount ? PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> Connect-AzAccount WARNING: Unable to acquire token for tenant 'organizations' with…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,182 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,917 questions
asked 2023-08-08T13:25:14.0933333+00:00
EnterpriseArchitect 4,896 Reputation points
answered 2024-05-30T13:31:10.7233333+00:00
Hitesh Ramesh Janjrukiya 0 Reputation points
0 answers

How to get the impacted asset (user or client) when fetching alerts (v2) from Defender using API?

Hello, I followed this documentation to list alerts from Defender https://learn.microsoft.com/en-us/graph/api/security-list-alerts_v2?view=graph-rest-beta&tabs=http While I am getting the output, it is very different from when I fetch the alerts…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,223 questions
Microsoft Defender for Identity
Microsoft Defender for Identity
A Microsoft service that helps protect enterprise hybrid environments from multiple types of advanced, targeted cyberattacks and insider threats.
163 questions
Microsoft Defender for Cloud Apps
Microsoft Defender for Cloud Apps
A Microsoft cloud access security broker that enables customers to control the access and use of software as a service apps in their organization.
112 questions
Microsoft Defender for Endpoint Training
Microsoft Defender for Endpoint Training
Microsoft Defender for Endpoint: A Microsoft unified security platform for preventative protection, postbreach detection, and automated investigation and response. Previously known as Microsoft Defender Advanced Threat Protection.Training: Instruction to develop new skills.
22 questions
asked 2024-05-30T13:30:38.1333333+00:00
Rawad BASSIL 0 Reputation points
0 answers

Request for API to Sign Out Users from All Sessions for Non-CAE Applications such as Microsoft365, word, excel, etc.

We need a method to sign out users from all active sessions and applications in Microsoft 365, specifically addressing non-CAE applications. The current RevokeSignInSessions API does not affect non-CAE applications, posing a security risk. Current…

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,992 questions
Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
699 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
234 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,553 questions
asked 2024-05-30T12:36:40.9366667+00:00
Ashutosh Gairola 0 Reputation points
1 answer

MS Graph. How to get the list of user submitted (reported) emails?

Hello! I'm trying to get the list of user-submitted emails (reported as phishing or malware) by using the following request but it returns the items that were submitted to Microsoft…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-29T15:29:48.5166667+00:00
Dmitriy Kolesnikov 1 Reputation point
commented 2024-05-30T12:30:19.7166667+00:00
Dmitriy Kolesnikov 1 Reputation point
1 answer One of the answers was accepted by the question author.

Microsoft missed scope validation on their side while sending an email

Hi! When you send a request to https://graph.microsoft.com/v1.0/me/sendMail and try to create and send an email, you can do it without the "Mail.Send" and "Mail.ReadWrite" scopes. When your access token doesn't have these permissions,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-21T12:46:59.2633333+00:00
Dmytro Maliuta 20 Reputation points
commented 2024-05-30T11:17:23.9266667+00:00
Dmytro Maliuta 20 Reputation points
1 answer

can not find a sharepoint link's driver name by microsoft graph api get driver list by siteId

URL: https://xxx.sharepoint.com/sites/mySiteName/SiteAssets/Repositories/Marketing%20Operations/Forms/xxxx.xls I use this graph api: https://graph.microsoft.com/v1.0/sites/xxx/drives to get below response { "@odata.context":…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-30T09:11:05.18+00:00
He, Marvin 0 Reputation points
answered 2024-05-30T10:32:45.3566667+00:00
Saranya Madhu-MSFT 305 Reputation points Microsoft Vendor
1 answer

How can I pull information from "Projects for the web" like Plans, Tasks, Assignees and Charts?

I would like to know if there is any API that allows me to GET the information from Plans, including all information from Tasks, Assignees, Charts, People and Goals. Is there any documentation?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-29T08:16:49.01+00:00
Daniel Moretti 0 Reputation points
commented 2024-05-30T10:27:48.1266667+00:00
Daniel Moretti 0 Reputation points
0 answers

Attack Simulator Graph API associate user and their results with a simulation

I can extract the list of Simulations and includedaccounts https://graph.microsoft.com/v1.0/security/attackSimulation/simulations/<simid>/includedAccountTarget however we cannot associate the results of a simulation with a…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-30T10:21:18.4533333+00:00
Mike Baker 6 Reputation points
1 answer

How to download a items from a shared folder using the onedrive api for python. Quite urgent.

I have a large shared file hosted on OneDrive that I want to download. The default download button is failing repeatedly to create a proper zip file so I turned to use the Python API but I am quite new to REST and Graph API. Using the Graph Explorer…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
875 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,906 questions
asked 2024-05-28T21:52:23.55+00:00
Pavan Aakash Rangaraj 0 Reputation points
commented 2024-05-30T10:10:37.3+00:00
Pavan Aakash Rangaraj 0 Reputation points
1 answer

Email that is sent using Microsoft Graph REST APIs shows a different From name than account name in the email that is received because of which it always is being redirected to SPAM. How to change the name so it is understandable instead of a random name?

Hello Folks, Email that is sent using Microsoft Graph REST APIs shows a different From name than account name in the email that is received because of which it always is being redirected to SPAM. The email addresses look like…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,138 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
asked 2024-05-30T06:48:03.4733333+00:00
Abhishek Vadakattu ProtonMe 0 Reputation points
answered 2024-05-30T09:34:40.2233333+00:00
Yakun Huang-MSFT 785 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to use AAD authenticated notificationUrl to Create subscription for MS graph notifications?

In my Client App, I am using Graph API to create subscriptions as follows to get the status of the TEAMS users: const subscription = await client.api('/subscriptions').create({ changeType: 'updated', notificationUrl: `my own API…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 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,917 questions
asked 2023-10-03T09:54:15.4733333+00:00
Shashikant Sharma 65 Reputation points
accepted 2024-05-30T09:31:57.96+00:00
Shashikant Sharma 65 Reputation points
3 answers

How to fix "/me request is only valid with delegated authentication flow." issue?

I want use postman to get user profiles from Azure AD. I can got Token using [https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/token] But I couldn't get me profiles using [https://graph.microsoft.com/v1.0/me] I got error as below. /me…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 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,917 questions
asked 2022-05-17T05:37:12.237+00:00
Jie Shen 56 Reputation points
answered 2024-05-30T09:28:37.6533333+00:00
Pritam K 0 Reputation points
0 answers

Sharepoint API - Failed to load resource: net::ERR_CONNECTION_RESET

We have nextjs application deployed on the AWS. For user we provide opportynity to use OneDrive FilePicker (v.8). When user just picked the file we call https://{tenant}-my.sharepoint.com/_api/v2.0/drives/{driveId}/items/{fileId} endpoint to get file…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,906 questions
asked 2024-05-30T08:21:33.8766667+00:00
Iryna Mashnytska 0 Reputation points
2 answers

Can I put the value of instanceDurationInDays in minutes for the QA while creating access reviews using powershell?

I am able to create an azure access reviews with Graph API 1.0 using PowerShell. Now, there is a property called instanceDurationInDays which should have an integer value. The access review will remain active for the number of days of the value of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,898 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,416 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,182 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,917 questions
asked 2024-05-27T13:42:49.5833333+00:00
Sumit Bhargav 0 Reputation points
commented 2024-05-30T08:21:19.0133333+00:00
Shweta Mathur 28,201 Reputation points Microsoft Employee