diff --git a/docs/spfx/use-aadhttpclient-enterpriseapi-multitenant.md b/docs/spfx/use-aadhttpclient-enterpriseapi-multitenant.md index 43045f2d8..469d75cb7 100644 --- a/docs/spfx/use-aadhttpclient-enterpriseapi-multitenant.md +++ b/docs/spfx/use-aadhttpclient-enterpriseapi-multitenant.md @@ -1,7 +1,7 @@ --- title: Consume multi-tenant enterprise APIs secured with Azure AD in SharePoint Framework description: Tutorial on using the AadHttpClient to connect to a multi-tenant enterprise API secured with Azure AD in SharePoint Framework solutions. -ms.date: 06/13/2022 +ms.date: 03/05/2026 ms.localizationpriority: medium --- @@ -9,8 +9,6 @@ ms.localizationpriority: medium This article illustrates how you would connect to a multi-tenant enterprise API secured with Azure Active Directory from a SharePoint Framework solution. It covers both creating and securing the API as well building the SharePoint Framework solution. -[!INCLUDE [spfx-gulp-heft-migration-wip](../../includes/snippets/spfx-gulp-heft-migration-wip.md)] - ## Create a multi-tenant enterprise API secured with Azure AD Start with creating a multi-tenant enterprise API secured with Azure Active Directory. While there are no restrictions how the API should be implemented from the SharePoint Framework point of view, in this tutorial, you'll build the API using Azure Functions and secure it using Azure App Service Authentication. @@ -423,7 +421,7 @@ After completing the implementation of the SharePoint Framework solution, the ne First, build, and package the project, by executing in the command line: ```console -gulp bundle --ship && gulp package-solution --ship +heft build --production && heft package-solution --production ``` Next, in the explorer, open the project folder and navigate to the **sharepoint/solution** folder. @@ -489,3 +487,4 @@ Select the **+** option to open the toolbox. In the search box type `Orders` to Select the **Orders** web part to add it to the page. You should see the list of orders retrieved from the enterprise API. ![List of recent orders retrieved from an enterprise API displayed on a SharePoint page](../images/use-aadhttpclient-enterpriseapi-webpart-orders.png) + diff --git a/docs/spfx/use-aadhttpclient-enterpriseapi.md b/docs/spfx/use-aadhttpclient-enterpriseapi.md index 76c690c12..b758a6b6c 100644 --- a/docs/spfx/use-aadhttpclient-enterpriseapi.md +++ b/docs/spfx/use-aadhttpclient-enterpriseapi.md @@ -1,7 +1,7 @@ --- title: Consume enterprise APIs secured with Azure AD in SharePoint Framework description: Tutorial on using the AadHttpClient to connect to an enterprise API secured with Azure AD in SharePoint Framework solutions. -ms.date: 12/21/2020 +ms.date: 03/05/2026 ms.localizationpriority: high --- @@ -9,8 +9,6 @@ ms.localizationpriority: high This article illustrates how you would connect to an enterprise API secured with Azure Active Directory from a SharePoint Framework solution. It covers both creating and securing the API as well as building the SharePoint Framework solution. -[!INCLUDE [spfx-gulp-heft-migration-wip](../../includes/snippets/spfx-gulp-heft-migration-wip.md)] - ## Create an enterprise API secured with Azure AD Start with creating an enterprise API secured with Azure Active Directory. While there are no restrictions on how the API should be implemented from the SharePoint Framework point of view, in this tutorial, you'll build the API using Azure Functions and secure it using Azure App Service Authentication. @@ -388,7 +386,7 @@ After completing the implementation of the SharePoint Framework solution, the ne First, build, and package the project using the command line: ```console -gulp bundle --ship && gulp package-solution --ship +heft build --production && heft package-solution --production ``` Next, in file explorer, open the project folder and navigate to the **sharepoint/solution** folder: @@ -459,3 +457,4 @@ Select the **Orders** web part to add it to the page. You should see the list of ![List of recent orders retrieved from an enterprise API displayed on a SharePoint page](../images/use-aadhttpclient-enterpriseapi-webpart-orders.png) > If you receive an error with the technical details of "Failed to open pop-up window", you have a pop-up blocker enabled. You will need to disable the browser's pop-up blocker for your site in order to show the page correctly. +