Skip to content

Commit 365c3bf

Browse files
Merge pull request #312 from HeathL17/patch-2
Adding ADFSMachineName parameter
2 parents 8159b0b + b33acbf commit 365c3bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Identity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Import-Module ..\Identity\AzureStack.Identity.psm1
1212
You can create a Service Principal by executing the following command after importing the Identity module
1313

1414
```powershell
15-
$servicePrincipal = New-AzsAdGraphServicePrincipal -DisplayName "<YourServicePrincipalName>" -AdminCredential $(Get-Credential) -Verbose
15+
$servicePrincipal = New-AzsAdGraphServicePrincipal -DisplayName "<YourServicePrincipalName>" -AdminCredential $(Get-Credential) -ADFSMachineName "AZS-ADFS01" -Verbose
1616
```
1717

1818
After the Service Principal is created, you should open your Azure Stack Portal to provide the appropriate level of RBAC to it. You can do this from the Access Control (IAM) tab of any resource. After the RBAC is given, you can login using the service principal as follows:

0 commit comments

Comments
 (0)