Grant-AdfsApplicationPermission is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Grants application permission.
Description
The Grant-AdfsApplicationPermission cmdlet grants application permission in Active Directory Federation Services (AD FS).
Parameters
-AllowAllRegisteredClients
Indicates whether to allow all registered clients.
Required? true
Position? 1
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-ClientRoleIdentifier <String>
Specifies a client role identifier.
Required? true
Position? 1
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-Description <String>
Specifies a description.
Required? false
Position? named
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-PassThru <SwitchParameter>
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ScopeNames <String[]>
Specifies an array of scope names.
Required? false
Position? 3
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-ServerRoleIdentifier <String>
Specifies a server role identifier.
Required? true
Position? 2
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-Confirm
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Grant-AdfsApplicationPermission [-ClientRoleIdentifier] <String> [-ServerRoleIdentifier] <String> [[-ScopeNames] <String[]>] [-Description <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant- AdfsApplicationPermission [-AllowAllRegisteredClients] [-ServerRoleIdentifier] <String> [[-ScopeNames] <String[]>] [-Description <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Grant-AdfsApplicationPermission
You can also read about
- Get-AdfsApplicationPermission
- Revoke-AdfsApplicationPermission
- Set-AdfsApplicationPermission