Office 365 – Getting groups a user is an owner/manager of

Recently I've been building an SPFx app that allows a user to see what groups they manage and allow them to bulk update the membership via CSV. One of the first hurdles was to get all the groups the user is an owner/manager of. This needed to work with all group types: Office 365Distribution *Mail-enabled … Continue reading Office 365 – Getting groups a user is an owner/manager of

Exchange Online – Enable group moderation and sending restrictions

Exchange Online - Group Moderation

Whether it be a large group or one that has restricted users, you may need to limit who can send to these mail enabled security groups. In addition, you may even want to enable moderation to allow specific users to approve/deny messages from reaching the members. The good news is that all this can be … Continue reading Exchange Online – Enable group moderation and sending restrictions

Exchange PowerShell – Get calendar folder permissions in any language

Getting a user's calendar folder permissions in Exchange via PowerShell is pretty straight forward as you can just use the standard ':\Calendar' naming convention like below: Get-MailboxFolderPermission -Identity [email protected]:\Calendar This works fine if the user's mailbox language is set to English but what if they have it set to something else, like perhaps German? Well … Continue reading Exchange PowerShell – Get calendar folder permissions in any language

Exchange PowerShell – Publish Room / Equipment Calendars

So you've got some resource (rooms/equipment) calendars in Exchange that you need to make the calendars public for. You can use PowerShell to accomplish this quite easily. First of all you can get the current calendar publishing information by using the Get-MailboxCalendarFolder cmdlet: Get-MailboxCalendarFolder -Tdentity VIRT-V01:\Calendar Note that if the mailbox's language is not English … Continue reading Exchange PowerShell – Publish Room / Equipment Calendars

Exchange PowerShell – Evaluating expressions in the Filter parameter

Recently I needed to get a bunch of groups from Exchange by their ExternalDirectoryObjectId property. There are many ways to do this and one of the easiest would be to just get the Name (or other unique identifier) by looking up the group in AAD via MSOL PS. However, you can use the -Filter parameter … Continue reading Exchange PowerShell – Evaluating expressions in the Filter parameter

Exchange PowerShell – For security reasons DTD is prohibited

I was working from home today and was trying to connect to Exchange Online via PowerShell. However, every time I tried to connect I would get the following error: System.Xml.XmlException: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the … Continue reading Exchange PowerShell – For security reasons DTD is prohibited