Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (13.1k points)
Can anyone help me with some example of setting filter as because I was trying to convert module of Azure from v1 to v2.

1 Answer

0 votes
by (26.7k points)

Some of the examples of Get-AzureADUser[Filter] command are:

Get-AzureADUser -Filter "DisplayName eq 'Juv Chan'"

Get-AzureADUser -Filter "DisplayName eq 'Juv Chan' and UserType eq 'Member'"

Also, in able to change the module of your Azure try this command:

Get-AzureADUser -All $true|select UserPrincipalName -ExpandProperty AssignedPlans|Where-Object {$_.CapabilityStatus -eq "Enabled" -and $_.Service -eq "MicrosoftCommunicationsOnline"} |select UserPrincipalName -Unique

I hope this will help.

Want to become an Azure expert? join azure certification now!!

Related questions

Browse Categories

...