QuickFix: New-MgUser -AccountEnabled
October 23, 2024 Leave a comment
If like me you just spent twenty minutes trying to make sense of this:

Windows Power Essentials Tips & Tricks
October 23, 2024 Leave a comment
If like me you just spent twenty minutes trying to make sense of this:

August 29, 2024 Leave a comment
I have been writing some tools recently that use Application Authentication to connect to Microsofts Graph API. Part of the tool installation process is that it requests access to the various API permissions, there is a great resource for finding those here: Graph Permissions
The difficulty I found though, was when requesting permissions programmatically, you do not use the familiar name like ‘Sites.Read.All’ instead you use a resource access object which contains some guids.
Read more of this postMay 21, 2024 Leave a comment
If you have ever administered a Phone System you will know that one of the most boring tasks you can be asked to do, is program in the new years bank holiday dates. Even today one of the most popular phone systems on the market 3CX it remains a manual task.
With Microsoft Teams Voice you of course benefit from a PowerShell interface to configure your system, and if we combine this with a surprisingly useful part of the gov.uk website we can can programmatically get, and input our bank holiday dates for the year ahead. In fact the current document has dates through to the end of 2026.
To do this we will make use of New-CsOnlineDateTimeRange, New-CsOnlineSchedule and Set-CsOnlineSchedule which are part of the Microsoft Teams PowerShell module.
Read more of this postOctober 11, 2023 Leave a comment
Just because I’ll forget the right number of bytes to use. To set the Max Send/Receive size of a mailbox in Exchange Online PowerShell you should use 157,286,400 (bytes).
Set-Mailbox -maxSendSize 157286400 -maxReceiveSize 157286400
Read more of this post
July 31, 2023 Leave a comment

I am working on an Exchange migration project currently, and setting up some things in a lab. As part of that I am converting what was a Modern Hybrid setup with the Hybrid Agent, to a Classic Hybrid, using connectors and what not.
I was trying to use New-FederationTrust setup a Federation trust and received the following:
Unable to access the Federation Metadata document from the federation partner. Detailed information “The remote server returned an error: (426) Upgrade Required.”

July 6, 2023 Leave a comment
So, you want to automate the creation of Microsoft Teams Call Queues. You want to use Shared Voicemail and the target is a Unified Group. But wait, what’s this, invalid overflow action target?

As you can see above we are using a variable $unifiedGroup, and selecting the id of that object. This is derived from an earlier command ‘Get-UnifiedGroup‘.
Read more of this postFebruary 11, 2023 Leave a comment
This week I was working on an Azure Function Web Hook to receive data from a third party service.
The service I was receiving the data from was a little limited in that all I could provide was an endpoint where the data would be posted, and an example of how the data would be formatted.
Read more of this post