I ran the Build-AzureADAppConsentGrantReport and got an error that Get-MgServicePrincipal was not found. We should include guidance for users to install-module Microsoft.Graph.Applications and other dependencies such as Microsoft.Graph.Users as a prerequisite check in the logic.
I ran the Build-AzureADAppConsentGrantReport and got an error that Get-MgServicePrincipal was not found. We should include guidance for users to install-module Microsoft.Graph.Applications and other dependencies such as Microsoft.Graph.Users as a prerequisite check in the logic.