So recently I spotted a repository on GitHub called msgraph-sdk-powershell. It turns out that Microsoft has started working on a PowerShell SDK for the Graph API. You can find it over here. So what is this all about? For me, this makes total sense as it would simplify the process of doing Graph requests in … Continue reading I spy with my little eye a Graph API PowerShell SDK!
Author: Alexander Holmeset
Debugging your Graph API error?
So you have started using Graph API through PowerShell and gotten pretty great at it. Then one day while writing a script and doing stuff you swear have worked before, suddenly fail. First of all, maybe you are running it in another tenant and have created a new application with other permission sets. You go through … Continue reading Debugging your Graph API error?
How do you automate splitting up unassigned number ranges in Skype for Business?
The scenario is that a customer is moving several different AD environments to a new Office 365 tenant as a step towards consolidating all resources in one place. This will take place over a long period of time. In one of the environments, they have a Skype for Business Server with enterprise voice activated for … Continue reading How do you automate splitting up unassigned number ranges in Skype for Business?
Which team is your organization’s GIF champion?
Just a short silly weekend scripting project to get started after the summer vacation. This script counts how many GIF's are used in each Microsoft Teams team, and give you the stats from top to bottom. Take a look here if you don't know how to get an access token for Graph API requests in … Continue reading Which team is your organization’s GIF champion?
Why you should interact with the community!
About 7-8 years ago I started on my official IT education with instructor lead online classes. One of the first things our teacher said already back then, was that Twitter was a good source of learning/information within the IT industry. This sounded interesting, so I dug up the password for my dusty Twitter account and … Continue reading Why you should interact with the community!
Remove the Wiki tab!
As I understand, not that many use the wiki tab in Teams. Could be that I'm wrong. Anyway, her is a script that removes the Wiki tab from every channel in every team in your tenant.
Project team in Teams with folder structure in files tab!
Not a long blog post, just straight to the point. I have made a script that creates a team in Teams with a project structure as the use case. It creates predefined folders under each channels files tab. The channels root document folder in SharePoint is not created until you click the file tab in … Continue reading Project team in Teams with folder structure in files tab!
Trigger Azure Automation with a Teams team request Form!
Lee Ford's blogpost on how to create a Teams team through Forms/Flow/Graph inspired me to take a closer look at the possibilities. I wanted to trigger an Azure Automation Runbook through a Form/Flow. I still wanted to use Graph API in the runbook. You may ask why? I think its easier to have an overview … Continue reading Trigger Azure Automation with a Teams team request Form!
Skype Online: Automatically assign federation policy
This week I had a customer that moved from Skype for Business on-premises to Skype Online. He was used to be able to choose default federation policy for his users, and if a user needed federation he added them to an AD group. The problem in Skype Online is that you cant choose what ExternalAccessPolicy … Continue reading Skype Online: Automatically assign federation policy
Why I did a major facepalm when I learned how easy JSON in PowerShell really is!
You learn something new every day. For months I have been doing Graph API calls trough PowerShell with JSON requests. If you copy/paste a JSON request body right into your favorite PowerShell editor you will get a lot of errors. To have a request that your editor can understand you need to do it like … Continue reading Why I did a major facepalm when I learned how easy JSON in PowerShell really is!