-
Notifications
You must be signed in to change notification settings - Fork 0
Add FscmEntraApplication
Add a registered Entra (AAD) application to a Finance and Operations environment.
Add-FscmEntraApplication [-EnvironmentId] <String> [-ClientId] <String> [[-Name] <String>]
[-MappedUser] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Registers an Entra (Azure AD) application in the Finance and Operations environment by creating a record in the SysAADClients OData entity.
Before creating the record, the cmdlet validates that:
- The MappedUser exists as a user in the Finance and Operations environment.
- The ClientId is not already registered in the environment.
Add-FscmEntraApplication -EnvironmentId "ContosoEnv" -ClientId "00000000-0000-0000-0000-000000000001" -MappedUser "svc-integration"
This command registers the Entra application with client ID "00000000-0000-0000-0000-000000000001", mapped to the user "svc-integration", in the environment "ContosoEnv".
Add-FscmEntraApplication -EnvironmentId "ContosoEnv" -ClientId "00000000-0000-0000-0000-000000000001" -MappedUser "svc-integration@contoso.com"
This command registers the Entra application with client ID "00000000-0000-0000-0000-000000000001", mapped to the user with UPN "svc-integration@contoso.com", in the environment "ContosoEnv".
Add-FscmEntraApplication -EnvironmentId "ContosoEnv" -ClientId "00000000-0000-0000-0000-000000000001" -Name "Contoso Integration App" -MappedUser "svc-integration"
This command registers the Entra application with client ID "00000000-0000-0000-0000-000000000001" and display name "Contoso Integration App", mapped to the user "svc-integration", in the environment "ContosoEnv".
The ID of the environment to register the Entra application in.
Can be either the environment name, the environment GUID (PPAC) or the LCS environment ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe AAD Client ID (application ID GUID) of the Entra application to register.
Must not already be registered in the environment.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe display name to assign to the registered Entra application.
If empty, the Name will be the same as the ClientId.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe Finance and Operations user to map the Entra application to.
Can be either the user name, user ID or user principal name (UPN).
Must exist as a user in the Finance and Operations environment.
Type: String
Parameter Sets: (All)
Aliases: RoleName
Required: True
Position: 4
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)