-
Notifications
You must be signed in to change notification settings - Fork 0
Set BapEnvironmentLinkEnterprisePolicy
Set the link between Dataverse and the Enterprise Policy
Set-BapEnvironmentLinkEnterprisePolicy [-EnvironmentId] <String> [-EnterprisePolicyResourceId] <String>
[-ProgressAction <ActionPreference>] [<CommonParameters>]
To enable managed identity between Dataverse and Azure resources, you will need to work with the Enterprise Policy concept
It needs to be linked, based on the SystemId of the Enterprise Policy (Azure) and the Dataverse environment (Id)
Set-BapEnvironmentLinkEnterprisePolicy -EnvironmentId eec2c11a-a4c7-4e1d-b8ed-f62acc9c74c6 -EnterprisePolicyResourceId '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-01/providers/Microsoft.PowerPlatform/enterprisePolicies/EnterprisePolicy-Dataverse'
This will link the Dataverse Environment to the Enterprise Policy. The Environment is 'eec2c11a-a4c7-4e1d-b8ed-f62acc9c74c6'. The EnterprisePolicy is '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-01/providers/Microsoft.PowerPlatform/enterprisePolicies/EnterprisePolicy-Dataverse'
The id of the environment that you want to work against
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe (system) id of the Enterprise Policy that you want to link to your Dataverse environment
Type: String
Parameter Sets: (All)
Aliases: SystemId
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)