external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Open.MS.GraphV10.PowerShell.dll-Help.xml |
AzureAD |
2.0.0 |
Gets information about groups in the Microsoft Entra ID (via MS Graph).
Get-AzureADMSGroup [-All <Boolean>] [-Top <Int32>] [-Filter <String>] [<CommonParameters>]
Get-AzureADMSGroup [-SearchString <String>] [-All <Boolean>] [<CommonParameters>]
Get-AzureADMSGroup -Id <String> [-All <Boolean>] [<CommonParameters>]
The Get-AzureADMSGroup cmdlet gets information about groups in the Microsoft Entra ID using the Microsoft Graph. To get a group, specify the Id parameter. Specify the SearchString or Filter parameter to find particular groups. If you specify no parameters, this cmdlet gets all groups.
PS C:\> Get-AzureADMSGroup
Id : d539a25e-2db2-482a-9dcb-2a0b27fe4f27
Description :
OnPremisesSyncEnabled :
DisplayName :
ADSyncOperators
OnPremisesLastSyncDateTime :
Mail :
MailEnabled : False
MailNickname : ADSyncOperators
OnPremisesSecurityIdentifier : S-1-5-21-2695029449-1154706203-1063139792-1243
ProxyAddresses : {}
SecurityEnabled : True
GroupTypes : {}
MembershipRule :
MembershipRuleProcessingState :
Id : d98ddc78-6e8d-4f0d-8a3f-b923c6ebc14b
Description :
OnPremisesSyncEnabled :
DisplayName : Project Icarus
OnPremisesLastSyncDateTime :
Mail :
MailEnabled : False
MailNickname : 60f3d02c-0c6e-41da-bb64-128c73b4d9e6
OnPremisesSecurityIdentifier :
ProxyAddresses : {}
SecurityEnabled : True
GroupTypes : {DynamicMembership}
MembershipRule : (user.jobtitle -eq "Sales manager") -or ((user.department -eq "Marketing") -and (user.country -eq "Greece"))
MembershipRuleProcessingState : On
This command gets all groups in the Microsoft Entra ID.
PS C:\> Get-AzureADMSGroup -Id "d98ddc78-6e8d-4f0d-8a3f-b923c6ebc14b"
Id : d98ddc78-6e8d-4f0d-8a3f-b923c6ebc14b
Description :
OnPremisesSyncEnabled :
DisplayName : Project Icarus
OnPremisesLastSyncDateTime :
Mail :
MailEnabled : False
MailNickname : 60f3d02c-0c6e-41da-bb64-128c73b4d9e6
OnPremisesSecurityIdentifier :
ProxyAddresses : {}
SecurityEnabled : True
GroupTypes : {DynamicMembership}
MembershipRule : (user.jobtitle -eq "Sales manager") -or ((user.department -eq "Marketing") -and (user.country -eq "Greece"))
MembershipRuleProcessingState : On
This command gets information for the group that has the specified ID.
If true, return all groups. If false, return the number of objects specified by the Top parameter
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Specifies an oData v3.0 filter string to match a set of groups.
Type: String
Parameter Sets: GetQuery
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Specifies the ID of the group that this cmdlet gets.
Type: String
Parameter Sets: GetById
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Specifies a search string. This cmdlet gets groups that have DisplayName or Description attributes that match the search string.
Type: String
Parameter Sets: GetVague
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Specifies the maximum number of records that this cmldet gets. The default value is 100.
Type: Int32
Parameter Sets: GetQuery
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This cmdlet uses the MSGraph instead of the AzureAD Graph. Commands that use the MSGraph are in the format of *-ADMS*. For more information on the naming convention see New enhancements to the #AzureAD PowerShell 2.0 preview. Manage dynamic groups and more!
See the migration guide for Get-AzureADMSGroup to the Microsoft Graph PowerShell.
This cmdlet is currently in Public Preview. While a cmdlet is in Public Preview, we may make changes to the cmdlet which could have unexpected effects. We recommend that you do not use this cmdlet in a production environment.
System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
#AzureAD: Certificate based authentication for iOS and Android now in preview!