Skip to content

Commit ae2a378

Browse files
authored
Update description of Get-AccessTokenCC function
1 parent c854a8a commit ae2a378

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

support/entra/entra-id/app-integration/graph-api-error-handling-invoke-restmethod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This article provides a code sample that demonstrates how to handle errors and i
2323

2424
To demonstrate the retry logic, this sample tries to query the `signInActivity` data for guest users. When you run this code, you can expect to receive a "403" error.
2525

26-
- **Get-AccessTokenCC** This function requests an access token from Microsoft Entra ID (formerly Azure Active Directory). The token can be used to authenticate API requests to Microsoft Graph. You have to provide values for the `$clientSecret`, `$clientId`, and `$tenantId` variables of your Azure registration app.
26+
- **Get-AccessTokenCC** This function requests an access token from Microsoft Entra ID (formerly Azure Active Directory). The token will be used to authenticate API requests to Microsoft Graph. You have to provide values for the `$clientSecret`, `$clientId`, and `$tenantId` variables of your Azure registration app.
2727
- **Get-GraphQueryOutput ($Uri)** This function makes a request to the Microsoft Graph API to retrieve data. It also handles paging. The function retries the request if a "403" error is generated.
2828

2929
``` powershell

0 commit comments

Comments
 (0)