NOTE: This enables the following locations */UserPhoto.aspx, and */Siteassets in all sites to be origins (An Origin is a location that will be synched with Private CDN). As well you will have to run 'Get-SPOTenantCdnOrigins -CdnType Private' till you see that Origins no longer say 'Configuration Pending' before you can use origins (Approx 15 mins)
NOTE: When adding extensions you are replacing the value so include ALL extensions that you want to sync.
NOTE: Library must exist before you run the command or you will get an error.
Add-SPOTenantCdnOrigin -CdnType Private -OriginUrl */photo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.