Add-VivaOrgInsightsDelegatedRole

This cmdlet is available only in the Exchange Online PowerShell module v3.7.0-Preview1 or later. For more information, see About the Exchange Online PowerShell module.

Use the Add-VivaOrgInsightsDelegatedRole cmdlet to add delegate access to the specified account (the delegate) so they can view organizational insights like the leader (the delegator).

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Add-VivaOrgInsightsDelegatedRole
   -Delegate <Guid>
   -Delegator <Guid>
   [-ResultSize <Unlimited>]
   [<CommonParameters>]

Description

To run this cmdlet, you need to be a member of one of the following role groups in Microsoft Entra ID in the destination organization:

  • Global Administrator
  • Insights Administrator

Important

Microsoft recommends that you use roles with the fewest permissions. Using lower permissioned accounts helps improve security for your organization. Global Administrator is a highly privileged role that should be limited to emergency scenarios when you can't use an existing role.

Examples

Example 1

Add-VivaOrgInsightsDelegatedRole -Delegate 5eaf7164-f36f-5381-5546-dcaa1792f077 -Delegator 043f6d38-378b-7dcd-7cd8-c1a901881fa9

This example adds the organization insights viewing capability of the specified delegator account to the specified delegate account.

Parameters

-Delegate

The Delegate parameter specifies the account that can view organizational insights like the leader (the account specified by the Delegator account).

A valid value for this parameter is the Microsoft Entra ObjectId value of the delegate account. Use the Get-MgUser cmdlet in Microsoft Graph PowerShell to find this value.

Type:Guid
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-Delegator

The Delegator parameter specifies the account of the leader that can view organizational insights. This capability is delegated to the account specified by the Delegate parameter.

A valid value for this parameter is the ObjectID value of the delegator account. Use the Get-MgUser cmdlet in Microsoft Graph PowerShell to find this value.

Type:Guid
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-ResultSize

This parameter is reserved for internal Microsoft use.

Type:Unlimited
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online