Skip to content

Commit 74fef47

Browse files
authored
Merge pull request #28119 from MicrosoftDocs/main
Published main to live, Wednesday 10:30 AM PST, 04/02
2 parents 1d794bb + 23dd803 commit 74fef47

3 files changed

Lines changed: 25 additions & 5 deletions

File tree

microsoft-365/commerce/billing-and-payments/manage-payment-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ f1.keywords:
55
author: cmcatee-MSFT
66
ms.author: cmcatee
77
manager: scotv
8-
ms.reviewer: lishepar, ramagane
8+
ms.reviewer: lishepar, jobailey
99
audience: Admin
1010
ms.topic: how-to
1111
ms.service: microsoft-365-business

microsoft-365/commerce/use-cost-mgmt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Use Cost management in the Microsoft 365 admin center"
33
author: cmcatee-MSFT
44
ms.author: cmcatee
55
manager: scotv
6-
ms.reviewer: jkinma, ramagane
6+
ms.reviewer: shrshett, vikdesai
77
audience: Admin
88
ms.topic: article
99
ms.service: microsoft-365-business

microsoft-365/enterprise/use-microsoft-365-cdn-with-spo.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,16 @@ For more information about this cmdlet, see [Set-SPOTenantCdnEnabled](/powershel
369369

370370
<a name="CDNSetupinPnPPosh"> </a>
371371

372+
<a name="CDNSetupinPnPPosh"> </a>
373+
374+
<a name="CDNSetupinPnPPosh"> </a>
375+
376+
<a name="CDNSetupinPnPPosh"> </a>
377+
378+
<a name="CDNSetupinPnPPosh"> </a>
379+
380+
<a name="CDNSetupinPnPPosh"> </a>
381+
372382
## Set up and configure the Office 365 CDN by using PnP PowerShell
373383

374384
The procedures in this section require you to use PnP PowerShell to connect to SharePoint Online. For instructions, see [Getting started with PnP PowerShell](https://github.com/SharePoint/PnP-PowerShell#getting-started).
@@ -649,6 +659,16 @@ For more information about this cmdlet, see [Set-PnPTenantCdnEnabled](https://pn
649659

650660
<a name="CDNSetupinCLI"> </a>
651661

662+
<a name="CDNSetupinCLI"> </a>
663+
664+
<a name="CDNSetupinCLI"> </a>
665+
666+
<a name="CDNSetupinCLI"> </a>
667+
668+
<a name="CDNSetupinCLI"> </a>
669+
670+
<a name="CDNSetupinCLI"> </a>
671+
652672
## Set up and configure the Office 365 CDN using the CLI for Microsoft 365
653673

654674
The procedures in this section require the [CLI for Microsoft 365](https://aka.ms/cli-m365). Then, connect to your Office 365 tenant using the [login](https://pnp.github.io/cli-microsoft365/cmd/login/) command.
@@ -826,17 +846,17 @@ If the _Publishing_ feature isn't enabled for a public origin, or the asset isn'
826846
For public CDN assets, the URL format looks like the following example:
827847

828848
```http
829-
https://publiccdn.sharepointonline.com/<TenantHostName>/sites/site/library/asset.png
849+
https://public-cdn.sharepointonline.com/<TenantHostName>/sites/site/library/asset.png
830850
```
831851

832852
Replace `TenantHostName` with your tenant name. For example:
833853

834854
```http
835-
https://publiccdn.sharepointonline.com/contoso.sharepoint.com/sites/site/library/asset.png
855+
https://public-cdn.sharepointonline.com/contoso.sharepoint.com/sites/site/library/asset.png
836856
```
837857

838858
> [!NOTE]
839-
> Use the page context property to construct the prefix instead of hard coding `https://publiccdn.sharepointonline.com`, because the URL is subject to change. If you use display templates with Classic SharePoint Online, you can use the property `window._spPageContextInfo.publicCdnBaseUrl` in your display template for the prefix of the URL. If you use SPFx web parts for modern and classic SharePoint, you can use the property `this.context.pageContext.legacyPageContext.publicCdnBaseUrl`, which also provides the prefix. If the prefix changes, your implementation is updated with it.
859+
> Use the page context property to construct the prefix instead of hard coding `https://public-cdn.sharepointonline.com`, because the URL is subject to change. If you use display templates with Classic SharePoint Online, you can use the property `window._spPageContextInfo.publicCdnBaseUrl` in your display template for the prefix of the URL. If you use SPFx web parts for modern and classic SharePoint, you can use the property `this.context.pageContext.legacyPageContext.publicCdnBaseUrl`, which also provides the prefix. If the prefix changes, your implementation is updated with it.
840860
>
841861
> As an example for SPFx, you can construct the URL using the property `this.context.pageContext.legacyPageContext.publicCdnBaseUrl` - `/` - `host` - `/` - `relativeURL for the item`. For more information, see the video [Using CDN in Client-side code](https://youtu.be/IH1RbQlbhIA), which is part of the [season 1 performance series](https://aka.ms/sppnp-perfvideos).
842862

0 commit comments

Comments
 (0)