Skip to content

Commit d0d8730

Browse files
authored
Update use-aadhttpclient-enterpriseapi.md
Changed description about value of resource since referring GUID is no longer supported.
1 parent 0ad14e3 commit d0d8730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spfx/use-aadhttpclient-enterpriseapi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ In the **solution** property, add a new property named `webApiPermissionRequests
275275
}
276276
```
277277

278-
The value of the **resource** property refers to either the name or the ID of the Azure AD application used to secure the API. Using the name is more readable and easier to maintain over time. The value of the **scope** property specifies the permission scope that your solution needs in order to communicate with the API. In this tutorial, Azure AD is used only to secure the API, so `user_impersonation` is the scope that you will use.
278+
The value of the **resource** property must refer to the name of the Azure AD application used to secure the API. The value of the **scope** property specifies the permission scope that your solution needs in order to communicate with the API. In this tutorial, Azure AD is used only to secure the API, so `user_impersonation` is the scope that you will use.
279279

280280
> [!NOTE]
281281
> If you want to connect to an enterprise API that has been created previously, contact your administrator to provide you with details for the Azure AD application used to secure it. You will need information such as the application ID, permissions the application exposes, and the audience it's configured to.

0 commit comments

Comments
 (0)