Accessing MS Graph from static HTML page on SharePoint Online

In my previous post I described how it is possible to host static HTML pages on SharePoint Online by allowing Custom Scripts. After doing so, I wanted to access MS Graph in order to tap into the ever growing data it holds. I had a hard time finding a solution that would allow accessing MS […]

SharePoint Online Management Shell – Current site is not a tenant administration site

I run into this error from time to time. it occurs when connecting via Connect-SPOService and entering the URL for the actual site instead of the one for the SharePoint Online Administration Center. Solution: Append “-admin” to the first part of the URL as in the following example. URL for the site: https://example.sharepoint.com URL for the […]

Use Array some() instead of forEach() if a break out is needed

When iterating an array with a need to break out at some point, I have always used the good old for loop instead of some other Array iteration variant. This is mainly due to the fact that .forEach() does not have a break out option – forcing the entire array to be iterated. But… while […]