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:
Note: Use of these APIs in production applications is not supported
Hope this helps
Thanks