Tool: postman
- Created azure ad app, granted app-only permission
Group.ReadWrite.All
for Microsoft Graph app, the app has standard delegation permissions as "Sign-in and read user profile on" "Windows Azure Active Directory" app. - Requested token for AzureAD graph api at endpoint https://login.windows.net/ with resource parameter "https://graph.windows.net", using client credential grant flows;
- Got token back
- Used the token and did a GET on a User OK
- Did a PATCH on a user ( modification went successfully with http code 204 back);
This looks very strange to me, why an app was able to do patch
on a user in azure ad when app is only granted Group.ReadWrite.All
on Microsoft Graph API?