Kennedy Kang'ethe

Results 158 comments of Kennedy Kang'ethe

Try using the Scope `Directory.AccessAsUser.All` Reference https://learn.microsoft.com/en-us/powershell/module/microsoft.entra/remove-entradeviceregisteredowner?view=entra-powershell#example-1-remove-an-owner-from-a-device

Much improved performance in the latest modules after modularization ```powershell > h Id Duration CommandLine -- -------- ----------- 1 7.649 Get-Command Get-EntraUser 2 0.011 Get-Command Get-EntraUser 3 0.027 Get-Command Get-EntraUser...

@MikeKenyon Did you manage to resolve your issue?

All examples have the required scopes Most of our cmdlets check the Context and provide appropriate message with correct scopes https://github.com/microsoftgraph/entra-powershell/blob/3fa0e2762e30ccba1abb7aba2a2ff680c3f1bcb5/module/Entra/Microsoft.Entra/CertificateBasedAuthentication/Get-EntraUserCBAAuthorizationInfo.ps1#L27-#L31

@surajssd Have a look at this PR