Graph API Enumeration
title:
style: inlineFirstLevel # TOC style (nestedList|nestedOrderedList|inlineFirstLevel)
minLevel: 2 # Include headings from the specified level
maxLevel: 2 # Include headings up to the specified level
include:
exclude:
includeLinks: true # Make headings clickable
hideWhenEmpty: false # Hide TOC if no headings are found
debugInConsole: false # Print debug info in Obsidian consoleGroups
GET https://graph.microsoft.com/v1.0/groups
{
"id": "2f846bbf-e647-4385-87ce-fe29c0cce31e",
"description": "Contributor privileges",
"displayName": "VM Manager",
}Service Principals
Instead of using the ServicePrincipal ID, you can use a filter like
(appId=00..00)
GET https://graph.microsoft.com/v1.0/servicePrincipalsGET https://graph.microsoft.com/v1.0/servicePrincipals/94deebf8-2b02-4080-846e-9c47d77457a2| Additional Parameter | Enumerates |
|---|---|
| appRoleAssignedTo | |
| appRoleAssignments | Application Roles |
| memberOf | (Security)-Groups |
| ownedObjects | Objects owned by the Service Principal |
| owners | Owners of the Application |