entra-powershell
entra-powershell copied to clipboard
Microsoft Entra PowerShell
Increase the Acrolinx score to over 80% in batches to improve documentation quality.
Entra commands' parameters `-Top` and `-Property` should have aliases to make it consistent with the Microsoft Graph PowerShell commands: ``` -Top --> -Limit -Property --> -Select ```
When the default output contains only IDs, we cannot call it very usable: ```powershell PS> Get-EntraUserManager -ObjectId [email protected] Id DeletedDateTime -- --------------- cc6166e6-acf1-419b-b06d-f44abb945bde PS> Get-EntraUserDirectReport -ObjectId [email protected] Id DeletedDateTime --...
-SearchString and -All belongs to different ParameterSets i.e. 'Search' and 'All' respectively as:  Github issue: https://github.com/microsoftgraph/entra-powershell/issues/1118
This is a partial list of `Set-EntraServicePrincipal` parameters: ```powershell Parameter Aliases Type --------- ------- ---- AlternativeNames System.Collections.Generic.List`1[System.String] ReplyUrls System.Collections.Generic.List`1[System.String] AppRoleAssignmentRequired System.Nullable`1[System.Boolean] KeyCredentials System.Collections.Generic.List`1[Microsoft.Open.AzureAD.Model.KeyCredential] ServicePrincipalNames System.Collections.Generic.List`1[System.String] Tags System.Collections.Generic.List`1[System.String] PasswordCredentials System.Collections.Generic.List`1[Microsoft.Open.AzureAD.Model.PasswordCredential] ```...
Removing the ms.service tag as this has been defined at a global level.
Open new PowerShell session and run `Get-EntraContext`. It runs sometimes for more than 60 seconds. `Get-MgContext` runs for less than a second. ```powershell PS> get-mgcontext PS> get-entracontext PS> h Id...
`Find-MgGraphPermission` has two parameter sets. `-All` and `-SearchString` are in separated sets. `Find-EntraPermission` has only one parameter set. A user can tab-complete -SearchString and -All, try to use them both,...
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue: - Make sure you can reproduce this issue using the latest released version...
`Get-EntraUser -UserId | Add-EntraGroupMember -GroupId ` fails with error `New-MgGroupMember_CreateExpanded: Invalid object identifier 'Microsoft.Graph.PowerShell.Models.MicrosoftGraphUser'.` Instead of the whole object you need to pipe just user's ID to make pipeline work.