- Home
- Resources
- Integrations
- Microsoft Graph Security
Microsoft Graph Security n8n integrationAutomate Microsoft Graph Security with n8n.
Your secure score moves, and nobody watches it on a Tuesday. The Microsoft Graph Security n8n integration hands a workflow 5 operations across 2 resources: read one score, list them all, read or list control profiles, and update one. This node has no trigger, so the starting point is yours to pick.
Verified Trustpilot reviews · AI, automation & growth agency
What does the Microsoft Graph Security n8n integration actually do?
The Microsoft Graph Security node lets an n8n workflow read secure score data and change the analyst setting on a control. It exposes 5 operations spread over 2 resources: Secure Score, with Get and Get Many, and Secure Score Control Profile, with Get, Get Many and Update. That is the whole surface of the node, and every field below comes from it.
Reporting is the obvious first job. A Schedule Trigger, which fires a workflow at a fixed interval, runs Get Many Secure Scores every morning and appends the rows to a Google Sheets tab. Nobody opens a portal, and the history builds itself while the sheet stays readable by people who never log into Azure.
The second job is narrowing. Get Many Secure Score Control Profiles accepts a Filter Query Parameter, so a workflow can pull only the profiles whose identifier starts with a given prefix and post that short list to a Slack channel. A team of 3 people gets one message with the profiles that concern them, instead of a full catalogue nobody reads.
The third job is the only write in the node. Update a Secure Score Control Profile sets State on a control, which is the analyst driven setting: Default, Ignored or Third Party. A review meeting ends with 4 decisions, and the workflow applies them in one run rather than 4 manual edits.
Some work sits outside these 5 operations. When the operation you need is missing from the dedicated node, the HTTP Request node calls any endpoint of the API and reuses the same credential through its predefined authentication, so you stay on one connection instead of managing a second one.
One structural point shapes every workflow here: this tool has no trigger node in n8n. A workflow that concerns it starts with another starter, a Schedule Trigger at a fixed interval, an n8n Webhook called by a third-party service, or the trigger of another tool. If you are still weighing the platform itself, the n8n review covers that, and the n8n training covers building these workflows hands-on.
How do you connect Microsoft Graph Security to n8n?
- 01
Register an application
Open the Microsoft Application Registration Portal and select Register an application. Give the app a Name, then under Supported account types pick accounts in any organizational directory plus personal Microsoft accounts. Copy the OAuth Callback URL from your n8n credential into the Redirect URI (optional) field, choose Select a platform then Web, and select Register. Copy the Application (client) ID into n8n as the Client ID.
- 02
Generate a client secret
On the application page, open Certificates & secrets in the left navigation, then in Client secrets select + New client secret. Enter a Description, something like n8n credential, and select Add. Copy the Secret from the Value column and paste it into n8n as the Client Secret. Select Connect my account, log in to your Microsoft account, and allow the app to access your info.
- 03
Check the account prerequisites
Three things gate that consent screen: a Microsoft Azure account, at least 1 user account with access to the appropriate service, and, when a corporate Microsoft Entra account manages that user, an administrator who has enabled the option letting users consent to apps accessing company data on their behalf. The result is a credential, a stored connection created once in the Credentials menu and offered by the node in its dropdown.
What can the Microsoft Graph Security node do?
The Microsoft Graph Security node exposes 5 operations across 2 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.
| Resource | Get | Get Many | Update |
|---|---|---|---|
| Secure Score | ✓ | ✓ | |
| Secure Score Control Profile | ✓ | ✓ | ✓ |
Operations index
Secure Score
2 operationsGet a secure score
secureScore.getWhat you see in n8n
Notes & use cases
Pulls back a single secure score, the one whose identifier you already hold, and returns it as one item for the rest of the workflow to use.
Key parameters
- Secure Score ID: the ID of the secure score to retrieve, as text. It is required, so an empty value stops the node before any call goes out. When the identifier arrives from an earlier node, reference it with an expression, n8n's way of reading a value from the incoming item, written
{{ $json.field }}wherefieldis the key that holds the ID.
Get many secure scores
secureScore.getAllWhat you see in n8n
Notes & use cases
Lists secure scores rather than fetching one, which is what you want when the workflow needs a series instead of a single point.
Key parameters
- Return All: on, n8n walks through the pages of the API and brings back every secure score. Off, Limit caps how many come back.
- Limit: the maximum number of secure scores returned when Return All stays off.
- Filter Query Parameter: a query parameter that filters the results, written the way the API expects, for example
currentScore eq 13.
Secure Score Control Profile
3 operationsGet a secure score control profile
secureScoreControlProfile.getWhat you see in n8n
Notes & use cases
Reads one control profile, the record that describes a single security control, and hands it to the next node untouched.
Key parameters
- Secure Score Control Profile ID: the ID of the control profile to retrieve, as text and required. It is an identifier, not the control's display name, so a workflow that only has a label has to resolve it first, typically through Get Many.
Get many secure score control profiles
secureScoreControlProfile.getAllWhat you see in n8n
Notes & use cases
Browses the control profiles as a set, which is the operation to reach for when you are inventorying rather than inspecting.
Key parameters
- Return All: on, the node pages through the API until every control profile has been retrieved. Off, it stops at Limit.
- Limit: the maximum number of control profiles to return.
- Filter Query Parameter: a query parameter that narrows the profiles returned, for instance
startsWith(id, 'AATP')to keep one family of identifiers.
Update a secure score control profile
secureScoreControlProfile.updateWhat you see in n8n
Notes & use cases
Writes back to a control profile. It is the only operation in this node that changes anything on the Microsoft side, the other 4 just read.
Key parameters
- Secure Score Control Profile ID: the ID of the control profile to update. Required.
- Provider: the name of the provider of the security product or service, required, for example
SecureScore. - Vendor: the name of the vendor of the security product or service, required, for example
Microsoft. - State, in Update Fields: the analyst driven setting on the control, with three choices,
Default,IgnoredandThirdParty.
Need help automating Microsoft Graph Security with n8n?
A person reads every message.
Microsoft Graph Security and n8n, answered
01Is the Microsoft Graph Security n8n integration free?
02What credentials do you need for Microsoft Graph Security in n8n?
03What are the limits of the Microsoft Graph Security node?
04Does Microsoft Graph Security react in real time in n8n?
05n8n or Make for Microsoft Graph Security?
Get our weekly integration tips.
No spam. Unsubscribe anytime.