Skip to content

Commit a817bd2

Browse files
committed
Added a note in the using client credentials section
1 parent d6336b5 commit a817bd2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

microsoftgraph/docs-conceptual/authentication-commands.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ $ClientSecretCredential = Get-Credential -Credential "Client_Id"
100100
Connect-MgGraph -TenantId "Tenant_Id" -ClientSecretCredential $ClientSecretCredential
101101
```
102102

103+
>[!NOTE]
104+
>It's recommended to use PowerShell 7 and above when using client secret credentials.
105+
103106
#### Using managed identity
104107

105108
A common challenge when writing automation scripts is the management of secrets, credentials, certificates, and keys used to secure communication between services. Eliminate the need to manage credentials by allowing the module to obtain access tokens for Azure resources that are protected by Azure AD. The identity is managed by the Azure platform and does not require you to provision or rotate any secrets.

0 commit comments

Comments
 (0)