diff --git a/src/Applications/beta/examples/Get-MgBetaApplication.md b/src/Applications/beta/examples/Get-MgBetaApplication.md index 9e53c54d689..63c0bb8cbbc 100644 --- a/src/Applications/beta/examples/Get-MgBetaApplication.md +++ b/src/Applications/beta/examples/Get-MgBetaApplication.md @@ -14,7 +14,7 @@ PublisherDomain : Contoso.com This examples gets a list of all the applications. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. @@ -33,7 +33,7 @@ PublisherDomain : Contoso.com This examples gets the application by the specified Id. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. @@ -54,7 +54,7 @@ fe4caed6-6182-4aca-b70b-b114c5334a8a New app 641992e9-d176-4aff-a3b6- This example gets a list of all applications. The $appCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. @@ -70,9 +70,9 @@ dcaa0c3a-8dfa-4b47-bc04-0edbab42043a Principal-Test App bd38ad43-6c46-4cc6-b65c- f6b30057-7095-4e2c-89f8-224149f591b7 Testing App 00e80963-9bc0-4147-b9e0-2ba56093e7e6 AzureADandPersonalMicrosoftAccount Contoso.com ``` -This example returns all applications whose display name contains 'Test'. The $appCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all applications whose display name contains 'Test'. The $appCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. @@ -88,8 +88,8 @@ fe4caed6-6182-4aca-b70b-b114c5334a8a New app 641992e9-d176-4aff-a3b6-a867b3b 0672d487-4c0c-475a-bf22-0e714f015597 New apps ced14895-14ac-4dcf-8b93-0779f60c000d AzureADandPersonalMicrosoftAccount Contoso.com ``` -This example returns all applications whose display name starts with 'New'. The $appCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all applications whose display name starts with 'New'. The $appCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. diff --git a/src/Applications/beta/examples/Get-MgBetaServicePrincipal.md b/src/Applications/beta/examples/Get-MgBetaServicePrincipal.md index 43c36f38ce5..8678e40af57 100644 --- a/src/Applications/beta/examples/Get-MgBetaServicePrincipal.md +++ b/src/Applications/beta/examples/Get-MgBetaServicePrincipal.md @@ -17,9 +17,9 @@ SignInAudience : AzureADMultipleOrgs This example retrieves all service principals from the directory. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. ### Example 2: Get the service principal by display name @@ -36,9 +36,9 @@ SignInAudience : AzureADMultipleOrgs This example gets the service principal by display name. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. ### Example 3: Get a count of the service principals @@ -54,11 +54,11 @@ Id DisplayName 020ada9b-60b7-436f-8f00-22b198c2996a O365SBRM Service 9d06afd9-66c9-49a6-b385-ea7509332b0b AzureADMultipleOrgs Microsoft Service ``` -This example returns a list of all the service principals. $spCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns a list of all the service principals. $spCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. ### Example 4: Use -Filter and -Top to get five service principals with a display name that starts with 'a' including a count of returned objects @@ -75,11 +75,11 @@ Id DisplayName AppId 1d322ee1-7cf7-442a-b480-d6d4bbe6ec54 App Protection c6e44401-4d0a-4542-ab22-ecd4c90d28d7 AzureADMultipleOrgs Microsoft Services ``` -This example filters service principals whose display name starts with 'a' and continues to return the top 5. $spCount variable contains the count of the objects in the result before the *Top* filter. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example filters service principals whose display name starts with 'a' and continues to return the top 5. $spCount variable contains the count of the objects in the result before the *Top* filter. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. ### Example 5: Use -Search to get service principals with display names that contain the letters 'Team' including a count of returned objects @@ -98,8 +98,8 @@ Id DisplayName 349be45f-663d-428e-bdab-b4ac26393614 Microsoft Teams AuthSvc a164aee5-7d0a-46bb-9404-37421d58bdf7 AzureADMultipleOrgs Microsoft Services ``` -This example returns all service principals whose display name contains the word 'team'. $spCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all service principals whose display name contains the word 'team'. $spCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes Application.Read.All, Application.ReadWrite.All`. diff --git a/src/Applications/v1.0/examples/Get-MgApplication.md b/src/Applications/v1.0/examples/Get-MgApplication.md index 75f14c660e9..0ca362702c6 100644 --- a/src/Applications/v1.0/examples/Get-MgApplication.md +++ b/src/Applications/v1.0/examples/Get-MgApplication.md @@ -12,9 +12,9 @@ SignInAudience : AzureADandPersonalMicrosoftAccount PublisherDomain : Contoso.com ``` -This examples gets a list of all the applications. +This example gets a list of all the applications. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. @@ -31,9 +31,9 @@ SignInAudience : AzureADandPersonalMicrosoftAccount PublisherDomain : Contoso.com ``` -This examples gets the application by the specified Id. +This example gets the application by the specified Id. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. @@ -52,9 +52,9 @@ f6b30057-7095-4e2c-89f8-224149f591b7 Testing App 00e80963-9bc0-4147-b9e0- fe4caed6-6182-4aca-b70b-b114c5334a8a New app 641992e9-d176-4aff-a3b6-a867b3ba48c4 AzureADandPersonalMicrosoftAccount Contoso.com ``` -This example gets a list of all applications. The $appCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example gets a list of all applications. The $appCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. @@ -70,9 +70,9 @@ dcaa0c3a-8dfa-4b47-bc04-0edbab42043a Principal-Test App bd38ad43-6c46-4cc6-b65c- f6b30057-7095-4e2c-89f8-224149f591b7 Testing App 00e80963-9bc0-4147-b9e0-2ba56093e7e6 AzureADandPersonalMicrosoftAccount Contoso.com ``` -This example returns all applications whose display name contains 'Test'. The $appCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all applications whose display name contains 'Test'. The $appCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. @@ -88,8 +88,8 @@ fe4caed6-6182-4aca-b70b-b114c5334a8a New app 641992e9-d176-4aff-a3b6-a867b3b 0672d487-4c0c-475a-bf22-0e714f015597 New apps ced14895-14ac-4dcf-8b93-0779f60c000d AzureADandPersonalMicrosoftAccount Contoso.com ``` -This example returns all applications whose display name starts with 'New'. The $appCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all applications whose display name starts with 'New'. The $appCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#application-resource-permissions). To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. diff --git a/src/Applications/v1.0/examples/Get-MgServicePrincipal.md b/src/Applications/v1.0/examples/Get-MgServicePrincipal.md index 0ff63baaf7a..b83bf92046d 100644 --- a/src/Applications/v1.0/examples/Get-MgServicePrincipal.md +++ b/src/Applications/v1.0/examples/Get-MgServicePrincipal.md @@ -17,16 +17,16 @@ SignInAudience : AzureADMultipleOrgs This example retrieves all service principals from the directory. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about the permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. ### Example 2: Get the service principal by display name ```powershell Connect-MgGraph -Scopes 'Application.Read.All' Get-MgServicePrincipal -Filter "DisplayName eq 'Power BI Service'" | - Format-List Id, DisplayName,AppId, SignInAudience + Format-List Id, DisplayName, AppId, SignInAudience Id : 9518fb8f-8d9e-4aae-be20-d398f9cc59ac DisplayName : Power BI Service @@ -34,11 +34,11 @@ AppId : 60dbf324-9702-41cc-a5fa-f8d19804b014 SignInAudience : AzureADMultipleOrgs ``` -This example gets the service principal by display name. +This example gets the service principal by the display name. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about the permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. ### Example 3: Get a count of the service principals @@ -54,11 +54,11 @@ Id DisplayName 020ada9b-60b7-436f-8f00-22b198c2996a O365SBRM Service 9d06afd9-66c9-49a6-b385-ea7509332b0b AzureADMultipleOrgs Microsoft Service ``` -This example returns a list of all the service principals. $spCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns a list of all the service principals. $spCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. ### Example 4: Use -Filter and -Top to get five service principals with a display name that starts with 'a' including a count of returned objects @@ -75,11 +75,11 @@ Id DisplayName AppId 1d322ee1-7cf7-442a-b480-d6d4bbe6ec54 App Protection c6e44401-4d0a-4542-ab22-ecd4c90d28d7 AzureADMultipleOrgs Microsoft Services ``` -This example filters service principals whose display name starts with 'a' and continues to return the top 5. $spCount variable contains the count of the objects in the result before the *Top* filter. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example filters service principals whose display name starts with 'a' and continues to return the top 5. $spCount variable contains the count of the objects in the result before the *Top* filter. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about the permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. ### Example 5: Use -Search to get service principals with display names that contain the letters 'Team' including a count of returned objects @@ -98,8 +98,8 @@ Id DisplayName 349be45f-663d-428e-bdab-b4ac26393614 Microsoft Teams AuthSvc a164aee5-7d0a-46bb-9404-37421d58bdf7 AzureADMultipleOrgs Microsoft Services ``` -This example returns all service principals whose display name contains the word 'team'. $spCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all service principals whose display name contains the word 'team'. $spCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about the permissions for this resource, see the [Application permissions reference](/graph/permissions-reference#applicationreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All`. diff --git a/src/Groups/beta/examples/Get-MgBetaGroup.md b/src/Groups/beta/examples/Get-MgBetaGroup.md index 3f4208cb8ab..437dfb9c83b 100644 --- a/src/Groups/beta/examples/Get-MgBetaGroup.md +++ b/src/Groups/beta/examples/Get-MgBetaGroup.md @@ -16,11 +16,11 @@ Description : Welcome to the BizDev team. GroupTypes : {Unified} ``` -This examples retrieves a list of groups. +This example retrieves a list of groups. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about the permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. ### Example 2: Get a group by the display name @@ -37,9 +37,9 @@ GroupTypes : {Unified} This example gets a group by the specified display name. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about the permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. ### Example 3: Get a count of all groups @@ -58,11 +58,11 @@ Id DisplayName Description 4d5f57a1-85e0-41dd-8282-ff995ad5e1c3 Business Development Welcome to the BizDev team. {Unified} ``` -The example gets a list of all groups. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +The example gets a list of all groups. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about the permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. ### Example 4: Use -Search to get all the groups whose display name contains 'Market' including a count of the returned users @@ -77,9 +77,9 @@ Id DisplayName Description 74a7bfca-7fbc-4a67-b4bb-3ef115b114f1 Sales & Marketing This is the sales and marketing team {} ``` -This example returns all groups whose display name contains 'Market'. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all groups whose display name contains 'Market'. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. @@ -96,8 +96,8 @@ f07a8d78-f18c-4c02-b339-9ebace025122 All Employees bbfa9226-a965-47e1-9db2-bcfcb2c202e6 All Users ``` -This example returns all groups whose display name starts with 'A'. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all groups whose display name starts with 'A'. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgBetaGraph -Scopes Permission`. For example, `Connect-MgBetaGraph -Scopes GroupMember.Read.All, Group.Read.All`. diff --git a/src/Groups/v1.0/examples/Get-MgGroup.md b/src/Groups/v1.0/examples/Get-MgGroup.md index e05456a8ef8..0e2182711dd 100644 --- a/src/Groups/v1.0/examples/Get-MgGroup.md +++ b/src/Groups/v1.0/examples/Get-MgGroup.md @@ -16,11 +16,11 @@ Description : Welcome to the BizDev team. GroupTypes : {Unified} ``` -This examples retrieves a list of groups. +This example retrieves a list of groups. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. ### Example 2: Get a group by the display name @@ -37,9 +37,9 @@ GroupTypes : {Unified} This example gets a group by the specified display name. -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. ### Example 3: Get a count of all groups @@ -58,11 +58,11 @@ Id DisplayName Description 4d5f57a1-85e0-41dd-8282-ff995ad5e1c3 Business Development Welcome to the BizDev team. {Unified} ``` -The example gets a list of all groups. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +The example gets a list of all groups. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. ### Example 4: Use -Search to get all the groups whose display name contains 'Market' including a count of the returned users @@ -77,11 +77,11 @@ Id DisplayName Description 74a7bfca-7fbc-4a67-b4bb-3ef115b114f1 Sales & Marketing This is the sales and marketing team {} ``` -This example returns all groups whose display name contains 'Market'. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all groups whose display name contains 'Market'. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. ### Example 5: Use -Filter to get all the applications with a display name that starts with 'A' including a count of the returned users, with the results ordered by display name @@ -96,8 +96,8 @@ f07a8d78-f18c-4c02-b339-9ebace025122 All Employees bbfa9226-a965-47e1-9db2-bcfcb2c202e6 All Users ``` -This example returns all groups whose display name starts with 'A'. The $groupCount variable contains the count of the objects in the result. Advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). +This example returns all groups whose display name starts with 'A'. The $groupCount variable contains the count of the objects in the result. The advanced query requires the ConsistencyLevel parameter set to `eventual` and the Count parameter in the command. For more information about *ConsistencyLevel* and *Count*, see [Advanced query capabilities on Azure AD directory objects](/graph/aad-advanced-queries). -To learn about other permissions for this resource, see the [permissions reference](/graph/permissions-reference). +To learn about other permissions for this resource, see the [Group permissions reference](/graph/permissions-reference#groupmemberreadall). -To consent to any of these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`. +To consent to these permissions run `Connect-MgGraph -Scopes Permission`. For example, `Connect-MgGraph -Scopes GroupMember.Read.All, Group.Read.All`.