Author Archives: mell9185

About mell9185

IT proffesional. Tech, video game, anime, and punk aficionado.

Pushing and auditing companywide Exchange mailbox calendar permissions for multinational firms via Powershell

My team recently received a request to grant editor access to every employee’s mailbox so that our homegrown time off management system could push approved entries in the calendar of end users. We are currently an Exchange Hybrid environment, and … Continue reading

Posted in Exchange, PowerShell | Leave a comment

Custom RBAC roles in Exchange Online do not work as expected when compared to on premises Exchange servers

At our company we have created multiple paired down RBAC roles for various business units like Information security and our various regional helpdesks. As we started our journey into Office 365 in 2019, we replicated these paired down RBAC roles … Continue reading

Posted in Exchange, Exchange Online, Microsoft 365, Office 365 | Tagged , , | Leave a comment

Inventorying what extensionAttributes are used in your Active Directory Environment

Recently we my team was asked what extensionAttributes were in use in my company’s Active Directory environment so I wrote this quick PowerShell script to search for any filled in extensionAttribute and compile a list of that objects Then compile … Continue reading

Posted in Active Directory, Exchange, PowerShell | Leave a comment

Removing certain email addresses by domain or prefix from all mail objects in Exchange on-premises

Over the summer my company moved our email ingress and egress from on premises Cisco IronPort Gateways to Exchange Online Protection. While this moved us to a modern and cloud-based mail hygiene solution, we did lose some of custom mail … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Removing 1000’s of folders in an on oprem Exchange Mailbox via EWS

Recently our helpdesk received a report of a user leveraging Outlook 2013 (x86) in a VM on a Mac to access a local mailbox (i.e. Not O365) crashing with an out of memory error. Before they reached out to my … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Inventorying Exchange custom attribute (extensionAttribute#\CustomAttribute#) usage within your environment

My team recently fielded a request for an unused Exchange custom attribute to use for various automation tasks around AD user groups. Since multiple teams at my company have access to various types of AD objects, we decided to do … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Hybrid free busy not working for just one user

A quick break down of the environment where this issue occurred Office 365 in Hybrid with Exchange 2016 Local 2019 AD Domain with Azure AD Connect syncing to Office 365 every 30 minutes, with no AD write back 350+ could … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Adventures in PowerShell dot sourcing

As my company has started our journey to Office 365, we have had to go back and update a lot of our daily checks, scripts, and automations we put in place for user accounts. As a specific example we have … Continue reading

Posted in Exchange, Office 365, PowerShell | Leave a comment

Issues installing Windows Admin Center on Windows Server 2016

At my Job we have been playing around with Windows Admin Center, and while it’s pretty neat it has been a pain to install. We ran into multiple issues trying to get it to properly install in Gateway Mode on … Continue reading

Posted in Windows Admin Center | Leave a comment

Hunting down personal Microsoft accounts using an corporate Email address in O365

Recently my company started endeavored on setting up an O365 (Office 365) tenant in full Hybrid mode with our on-premise Exchange infrastructure. One of the issues we ran into as we started migrating pilot users was that some of our … Continue reading

Posted in Office 365 | Leave a comment