File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,11 @@ There are three primary methods of using a Service Principal to run your applica
168
168
169
169
### Use a shared secret credential to sign into Azure AD
170
170
171
- 1 . Create a service principal certificate with a password using [az ad sp create -for -rbac --password ](/cli /azure /ad /sp ?view = azure -cli -latest #az -ad -sp -create -for -rbac ).
171
+ 1 . Create a service principal certificate with a password using the Azure CLI [az ad sp create -for -rbac ](/cli /azure /ad /sp ?view = azure -cli -latest #az -ad -sp -create -for -rbac ) command with the --sdk -auth parameter .
172
+
173
+ ```azurecli
174
+ az ad sp create -for -rbac --sdk -auth
175
+ ```
172
176
173
177
1. Set an environment variable named **AzureServicesAuthConnectionString ** to the following value :
174
178
You can’t perform that action at this time.
0 commit comments