14,078 questions with Microsoft Security | Microsoft Graph tags

Sort by: Updated
2 answers

Duplicate Email Delivery with Single Graph API sendMail Request

We are experiencing an issue where duplicate emails are being delivered when using the Microsoft Graph API sendMail endpoint, even though the API is invoked only once from our application. Observed Behavior: Our Node.js application triggers a scheduled…

Microsoft Security | Microsoft Graph
asked 2026-05-06T07:45:29.3333333+00:00
ajmalsabith 0 Reputation points
commented 2026-05-06T07:55:49.4333333+00:00
ajmalsabith 0 Reputation points
0 answers

Duplicate Email Delivery with Single Graph API sendMail Request

We are experiencing an issue where duplicate emails are being delivered when using the Microsoft Graph API sendMail endpoint, even though the API is invoked only once from our application. Observed Behavior: Our Node.js application triggers a scheduled…

Microsoft Security | Microsoft Graph
asked 2026-05-06T04:16:52.48+00:00
ajmalsabith 0 Reputation points
edited the question 2026-05-06T06:16:06.0033333+00:00
Ian-T 7,725 Reputation points Microsoft External Staff Moderator
0 answers

Duplicate Email Delivery with Single Graph API sendMail Request

We are experiencing an issue where duplicate emails are being delivered when using the Microsoft Graph API sendMail endpoint, even though the API is invoked only once from our application. Observed Behavior: Our Node.js application triggers a scheduled…

Microsoft Security | Microsoft Graph
asked 2026-05-06T04:33:31.34+00:00
ajmalsabith 0 Reputation points
edited the question 2026-05-06T05:56:04.4733333+00:00
Austin-H 8,355 Reputation points Microsoft External Staff Moderator
1 answer

Graph API Drive Items creating a folder under the root

I'm using a lot of functions from msgraph. Now I stuck on creating a folder under the root. This will give an invalid request. Already searched a lot sites, used copilot to get answer. But with no results. addedDriveItem = await graphClient …

Microsoft Security | Microsoft Graph
asked 2026-05-05T14:11:52.8333333+00:00
MartienJacobs-5699 0 Reputation points
commented 2026-05-05T15:33:53.8166667+00:00
MartienJacobs-5699 0 Reputation points
1 answer

Possible unauthorised payments.

On 27 April 2026 I noticed two payments of £100 each had been made to MicrosoftStore from my HSBC account. I knew nothing about these payments. HSBC didn't either and they asked for more details. I've searched for answers on Microsoft's website but…

Microsoft Security | Microsoft Graph
asked 2026-05-05T14:10:52.7766667+00:00
John Clayton 0 Reputation points
answered 2026-05-05T14:11:07.2066667+00:00
Q&A Assist
2 answers

Issue: Deployment Failed When Creating an Automation Account on Azure (400 Bad Request)

Hi, When attempting to create an automation account on Azure, either via Terraform (API) or through the Azure dashboard, I got the following error message: Your deployment failed unexpected status 400 (400 Bad Request) with response:…

Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,494 questions
Microsoft Security | Microsoft Graph
asked 2024-07-01T09:13:40.0366667+00:00
lucab 0 Reputation points
answered 2026-05-05T12:16:41.5466667+00:00
kagiyama yutaka 1,990 Reputation points
2 answers

Microsoft Graph to create docx file

I need to create a docx file, populate the content and sent it do OneDrive. Is it possible to create a docx file and set its content using Microsoft Graph api ou any other?

Microsoft Security | Microsoft Graph
asked 2022-10-07T13:43:34.613+00:00
Yamilla Manjko 6 Reputation points
commented 2026-05-04T15:05:44.64+00:00
alfie russell 0 Reputation points
1 answer

Import an Exchange Contact item Graph API created an item but it is not visible in the UI

I have exported items from EWS using beta MSGraph API and the following endpoint and saved "data" attribure (which is based 64 encoded prior to documentation): /beta/admin/exchange/mailboxes/{mailbox_id}/exportItems In the body I have passed…

Microsoft Security | Microsoft Graph
asked 2026-05-04T09:56:39.01+00:00
Markiian 0 Reputation points
commented 2026-05-04T10:24:51.61+00:00
Markiian 0 Reputation points
2 answers

How to update State/Province on Microsoft Entra?

GraphApi/organization -> from where does this graph api fetch the state information on organization level? How can I update the state field on organization level? I cannot find this field in the Microsoft Entra Id. I understand country/region cannot…

Microsoft Security | Microsoft Graph
asked 2026-04-30T10:19:59.1733333+00:00
Shivansh Agarwal 45 Reputation points Microsoft Employee
commented 2026-05-03T19:00:56.33+00:00
Vasil Michev 126.1K Reputation points MVP Volunteer Moderator
1 answer

Azure Service principal

Hi All, I have been given a few service principals and was informed that they are using password credentials (client secrets). To review them, I logged in to Microsoft Graph Explorer and ran the following request: GET…

Microsoft Security | Microsoft Graph
asked 2026-05-02T07:36:50.6866667+00:00
Glenn Maxwell 13,721 Reputation points
answered 2026-05-02T07:37:05.51+00:00
Q&A Assist
1 answer

returning / filtering Group owners by accountEnabled

I've using using the list owners API to get owners of Groups. In the past, I was adding $filter=accountEnabled eq true to get only active owners. Now suddenly that no longer works - I'm being told filtering on that property is not supported. So I…

Microsoft Security | Microsoft Graph
asked 2026-04-30T14:47:24.5233333+00:00
Steiner, Stephan (sunrise-upc) 0 Reputation points
edited an answer 2026-04-30T14:58:59.36+00:00
Vasil Michev 126.1K Reputation points MVP Volunteer Moderator
1 answer

failing to fetch email MIME content for itemId using Graph

Hi Team, We migrated from EWS to Graph to fetch email content, but for one of our user the MS Graph is throwing 400 Bad Request with error as …

Microsoft Security | Microsoft Graph
asked 2026-04-30T13:35:59.4466667+00:00
Vikram Kaparthi (external) 0 Reputation points
answered 2026-04-30T13:36:16.2533333+00:00
Q&A Assist
8 answers

Graph Create Teams error with custom Template French-ca Tenant

I guess the graph POST /teams fonctionnality only has been tested with en-us tenants as a french tenant Graph API will come back with an error saying : Failed to execute Templates backend request CreateTeamFromTemplateRequest. A template with id '[id]'…

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

4,945 questions
Microsoft Security | Microsoft Graph
asked 2020-11-24T13:33:25.787+00:00
Micael Levesque 51 Reputation points
edited an answer 2026-04-30T12:59:28.3066667+00:00
Steiner, Stephan (sunrise-upc) 0 Reputation points
0 answers

The code you entered has expired. Get a new code from the device you're trying to sign in to and try again.

Hi, while following the steps on this Microsoft Training "https://learn.microsoft.com/en-us/training/modules/manage-azure-active-directory-identities/5-manage-azure-active-directory-objects-powershell" I ran the Connect-MgGraph cmdlet in Azure,…

Microsoft Security | Microsoft Graph
asked 2025-01-24T10:11:05.7366667+00:00
Emanuel Tavares 0 Reputation points
commented 2026-04-30T03:03:48.7266667+00:00
Miguel Oliveira 0 Reputation points
1 answer

Differentiate between failed and interrupted sign-in logs with Get-MgAuditLogSignIn

Hi All, I am using the Microsoft.Graph PowerShell Module to fetch Entra sign-in logs with the cmdlet Get-MgAuditLogSignIn. The object returned by that cmdlet has a property 'Status' of the type MicrosoftGraphSignInStatus, with the properties…

Microsoft Security | Microsoft Graph
asked 2026-04-30T02:45:10.4833333+00:00
Emilia Owens 0 Reputation points
answered 2026-04-30T02:45:28.38+00:00
Q&A Assist
2 answers

403 Forbidden on Graph Virtual Events API despite Teams Premium licence and correct scopes

I'm getting a 403 Forbidden error when calling the Microsoft Graph Virtual Events API (GET    /solutions/virtualEvents/webinars) using delegated permissions.                                                                                                …

Microsoft Security | Microsoft Graph
asked 2026-04-29T08:45:44.6966667+00:00
Michael Butler 0 Reputation points
answered 2026-04-29T13:31:46.7433333+00:00
Vasil Michev 126.1K Reputation points MVP Volunteer Moderator
1 answer

Microsoft Graph Audit Log Query Issue in Beta (Stuck in ‘notStarted/running’) and v1.0 Endpoint Returning ‘Resource Not Found’

I created an audit log query using the Microsoft Graph API (beta). However, when I repeatedly check the query status, it remains in ‘notStarted’ or ‘running’ state and does not transition to ‘succeeded’, ‘failed’, ‘cancelled’, or ‘unknownFutureValue’,…

Microsoft Security | Microsoft Graph
asked 2026-04-29T07:43:32.1333333+00:00
Louis 40 Reputation points
answered 2026-04-29T13:27:38.99+00:00
Vasil Michev 126.1K Reputation points MVP Volunteer Moderator
1 answer

I am using graph api.. but getting error in response with any information

"response": { "error": { "code": "UnknownError", "message": "", "innerError": { "date": "2026-04-27T17:57:25", …

Microsoft Security | Microsoft Graph
asked 2026-04-27T18:05:04.2833333+00:00
Negi, Ankur 0 Reputation points
answered 2026-04-29T00:02:44.26+00:00
Marcin Policht 88,075 Reputation points MVP Volunteer Moderator
2 answers

Microsoft Bookings - Remove Bookable Status

We have a client that users Bookings and he wants to remain an administrator and see appointments being scheduled but doesn't want his name appearing as an option when his clients are booking appointments. We have set all his availability to never so…

Microsoft Security | Microsoft Graph
asked 2021-01-25T20:18:55.023+00:00
Bob Collier 26 Reputation points
commented 2026-04-28T20:28:59.33+00:00
Tammy 0 Reputation points
0 answers

How to create a reply draft with edit mode on in the current thread?

I want the draft reply to open in edit mode within the conversation thread, similar to the manual process. Basically I would like to AI generate the draft body in edit mode so that a human reviewing the response should see the original email aswell…

Microsoft Security | Microsoft Graph
asked 2026-04-28T15:52:18.0333333+00:00
Matej Jakubčík 195 Reputation points
answered 2026-04-28T15:52:29.6533333+00:00
Q&A Assist