AAD- User settings

K Roja 61 Reputation points
2022-09-21T13:23:54.763+00:00

Hello Team,

We have to update all the properties which are there in User Settings in azure active directory. PFA the screenshot for the same. Do we have any powershell command or rest api to update the below properties?For generating token, we are using service account and it's mandatory.
243485-image.png

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-09-21T18:45:42.577+00:00

    Hi @K Roja , I believe this user had the same question as you. I'll repost @Vasil Michev 's answer here:

    Some of these settings can be managed via the Graph api endpoints, via:

    Authorization policy: https://learn.microsoft.com/en-us/graph/api/resources/authorizationpolicy?view=graph-rest-beta
    Permission grant policy (for app consents): https://learn.microsoft.com/en-us/graph/api/resources/permissiongrantpolicy?view=graph-rest-beta

    Via PowerShell, you can toggle the UsersPermissionToCreateLOBAppsEnabled and UsersPermissionToUserConsentToAppEnabled properties using Set-MsolCompanySettings.

    Others are not available or coming in the future.

    Please let me know if you have any questions or if I misunderstood your question.

    If this answer helped you please mark it as "Verified" so other users can reference it.

    Thank you,
    James


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.