Home > database >  Is there any workaround for the absence of UsersPermissionToUserConsentToAppEnabled in Microsoft Gra
Is there any workaround for the absence of UsersPermissionToUserConsentToAppEnabled in Microsoft Gra

Time:09-13

I'm trying to check that users consent to apps accessing company data on their behalf is not allowed using Powershell. Originally, this is done using MSOL-CompanyInformation with UsersPermissionToUserConsentToAppEnabled. However, as deprecation gets closer for MSOL, I can not find any comparable (MgOrganization does not have the same functionality) or work around for the situation.

Any help would be appreciated. Thanks.

CodePudding user response:

enter image description here enter image description here

Note: Use of these APIs in production applications is not supported

Hope this helps

Thanks

  • Related