SOLVED

Azure Private CDN - Non-SharePoint Origins

%3CLINGO-SUB%20id%3D%22lingo-sub-70694%22%20slang%3D%22en-US%22%3EAzure%20Private%20CDN%20-%20Non-SharePoint%20Origins%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-70694%22%20slang%3D%22en-US%22%3E%3CP%3ERegarding%20the%20Private%20CDN%20(%3CA%20href%3D%22https%3A%2F%2Fdev.office.com%2Fblogs%2Fgeneral-availability-of-office-365-cdn%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.office.com%2Fblogs%2Fgeneral-availability-of-office-365-cdn%3C%2FA%3E)%20is%20it%20possible%20to%20set%20a%20non-SharePoint%20location%20as%20the%20origin%20of%20the%20files%20to%20be%20served%20through%20the%20private%20CDN%3F%20Or%20is%20the%20whole%20premise%20behind%20it%20that%20they%20must%20be%20on%20SharePoint%20so%20that%20the%20user%20can%20be%20authenticated%2Fauthorised%20against%20the%20origin%20location%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20curious%20whether%20it's%20theoretically%20possible%20to%20host%20files%20outside%20of%20SharePoint%2C%20in%20an%20Azure%20Web%20App%20for%20example.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369%22%20target%3D%22_blank%22%3E%40Vesa%20Juvonen%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-71909%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Private%20CDN%20-%20Non-SharePoint%20Origins%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-71909%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Vesa%2C%20appreciate%20the%20quick%20response%20(and%20everything%20you%20do%20for%20the%20SharePoint%20community%20as%20a%20whole%2C%20for%20that%20matter!).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-71880%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Private%20CDN%20-%20Non-SharePoint%20Origins%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-71880%22%20slang%3D%22en-US%22%3E%3CP%3EThat's%20correct.%20Since%20URL%20is%20not%20*.sharepoint.com%2C%20it%20cannot%20take%20advantage%20of%20the%20CDN%20as%20such.%20Obviously%20you%20could%20usage%20some%20third%20party%20CDN%20in%20these%20cases%2C%20but%20that%20has%20additional%20costs.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-71875%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Private%20CDN%20-%20Non-SharePoint%20Origins%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-71875%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Vesa.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20add-on%20question%20(if%20I%20may!)...%20What%20is%20the%20behaviour%20for%20provider%20hosted%20add-ins%20embedded%20on%20SPO%20pages%3F%20Guessing%20the%20referrer%20in%20this%20case%20would%20be%20the%20add-in%20as%20it's%20just%20an%20iframe%20on%20the%20SPO%20page%2C%20and%20therefore%20any%20assets%20used%20by%20the%20add-in%20would%20not%20be%20able%20to%20be%20served%20via%20the%20SharePoint%20CDN%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-71119%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Private%20CDN%20-%20Non-SharePoint%20Origins%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-71119%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20not%20possible.%20Office%20365%20CDN%20only%20works%20with%20origins%20from%20SharePoint%20Online%20and%20for%20usage%20at%20SharePoint%20Online.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Regarding the Private CDN (https://dev.office.com/blogs/general-availability-of-office-365-cdn) is it possible to set a non-SharePoint location as the origin of the files to be served through the private CDN? Or is the whole premise behind it that they must be on SharePoint so that the user can be authenticated/authorised against the origin location?

 

Just curious whether it's theoretically possible to host files outside of SharePoint, in an Azure Web App for example.

 

Thanks

 

@Vesa Juvonen

4 Replies
Highlighted
Solution

This is not possible. Office 365 CDN only works with origins from SharePoint Online and for usage at SharePoint Online. 

Highlighted

Thanks Vesa.

 

One add-on question (if I may!)... What is the behaviour for provider hosted add-ins embedded on SPO pages? Guessing the referrer in this case would be the add-in as it's just an iframe on the SPO page, and therefore any assets used by the add-in would not be able to be served via the SharePoint CDN?

Highlighted

That's correct. Since URL is not *.sharepoint.com, it cannot take advantage of the CDN as such. Obviously you could usage some third party CDN in these cases, but that has additional costs.

Highlighted

Thanks Vesa, appreciate the quick response (and everything you do for the SharePoint community as a whole, for that matter!).