AAD- User settings

K Roja 51 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 Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,902 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 24,841 Reputation points Microsoft Employee
    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 Answers by the question author, which helps users to know the answer solved the author's problem.