MS-600 · Question #86
You are developing a SharePoint Framework (SPFx) web part. The web part will call a backed API that is secured by using Azure Active Directory (Azure AD). The web part will be on a page that has…
The correct answer is C. isolated. When added to the page, isolated web parts are displayed using an iframe. This iframe points to a unique domain assigned to the SharePoint Framework solution where the web part is located. This domain is also referenced in the return URL of the Azure AD application created to…
Question
You are developing a SharePoint Framework (SPFx) web part. The web part will call a backed API that is secured by using Azure Active Directory (Azure AD). The web part will be on a page that has many other web parts. Which type of web part should you use ensure that access to the exclusive to the web part?
Options
- AProvider-hosted
- BSharePoint-hosted
- Cisolated
- DConnected
How the community answered
(32 responses)- A3% (1)
- B6% (2)
- C75% (24)
- D16% (5)
Explanation
When added to the page, isolated web parts are displayed using an iframe. This iframe points to a unique domain assigned to the SharePoint Framework solution where the web part is located. This domain is also referenced in the return URL of the Azure AD application created to host the isolated permissions for the particular SharePoint Framework solution. Using the unique domain allows to ensure, that only web parts from the particular SharePoint Framework solution can obtain an access token for the isolated set of permissions. https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/isolated-web-parts
Topics
Community Discussion
No community discussion yet for this question.