Exchange Online Multi Factor Authentication Shell

Last week, suddenly My Global Administrator account stopped connecting to Exchange Online management Shell. Below is the error that I received, that says access denied. I have checked RemotePowerShellEnabled is True for my account, nothing has changed. I researched and found that Microsoft has pushed a conditional access policy for below office 365 admin roles…

Extract Permission Dump Exchange Onpremise

Sharing a quickly written powershell solution to extract the permissions dump from Exchange onpremise enviornment. This dump will than be used by project management team to create migration sets for Exchange online migration. Following is done by the script. Extract Full access permissions Extract Send as permissions Extract delegates information using pubdelegates attribute of Active…

Exchange Online and Automapping

You have seen that exchange 2010 has introduced the feature called auto-mapping where mailboxes get auto mapped to outlook when full mailbox permissions are granted. We have seen issues with this feature & that’s why in the past I have written the post on how to disable the auto-mapping for all mailboxes in the environment.…

Mystery of Dynamic Distribution Lists Exchange Hybrid

Today, I am sharing a situation where we had to tweak the Hybrid solution to make existing Dynamic Distribution lists utilized in one of the customer Environment. As office 365/Exchange online administrators, We all know that Dynamic Distributions lists are not synchronized via AAD synchronization or you can say not supported, either you have to create…

ADD additional SMTP Email Address Exchange Hybrid

When you run Hybrid Wizard for setting up Exchange onpremise to Exchange online integration, one of the step –> updates the email address policy to include alias@domain.mail.microsoft.com.  This adds additional email address to all the users that have Automatically update Email adddresses based on e-mail address policy is checked. There are always mailboxes in the…

Change ActiveSync Policy Based on AD group

There has been a requirement that we need to change the policy of certain users & need to automate the process based on AD group. We have written below script to do this job, this script uses QAD AD Shell & Exchange management shell. It fetches group members from the AD group export them in…