Office 365 JavaScript controls domain down

Office 365 JavaScript controls domain down

A long long time ago Microsoft released some samples on how to build your own AppChrome and People cards. You can find them on MSDN Office 365 JavaScript controls. It provides a great start to use and there is a nice bunch of samples out there that leverage these components. While preparing for a demo for the SharePoint Saturday Belgium on Microsoft Graph and Groups I took an old project of mine and expected something like the following to appear.

Mavention Groups MSGraph Sample

Yet after deploying it most of the stuff didn’t work; the app chrome didn’t load at all. So after some debugging it turned out the JavaScript files where not loading. All samples refer to snippets like:

<script src="https://controls.office.com/people/1.0/Office.Controls.People.min.js"></script>
<link href="https://controls.office.com/people/1.0/Office.Controls.People.min.css" rel="stylesheet">
<script src="https://controls.office.com/appChrome/1.0/Office.Controls.AppChrome.min.js"></script>
<link href="https://controls.office.com/appChrome/1.0/Office.Controls.AppChrome.min.css" rel="stylesheet">

However it seems as if the whole domain https://controls.office.com is down, and thus cannot serve any response.

controls.office.com domain down message

With this domain offline there is no way of getting the stuff to work, luckily my colleague Vincent Wesker found out the referenced scripts are all on the OfficeDev GitHub so just skip out the CDN referenced in the samples and upload your own versions.

Leave a Reply