Tag: office365

Categories
Office365 | M365

Creating a Picture Policy to use with Office365

With Office365 you can have profile pictures, and this setting is enabled by default. In larger organizations you may not want this policy enabled or have a customized policy for different departments. Here’s what I had to do to disable the picture upload capability by default and use powershell to update it for individuals byRead More

Categories
Office365 | M365

Cannot migrate user from Exchange 2010 to Exchange Online

So I came across this error while migrating some accounts from On-Premise Exchange 2010 Server to Exchange Online. Error: The subscription for the migration user [email protected] couldn’t be loaded. The following error was encountered: A subscription wasn’t found for this user. In short, there is an address conflict between the user properties of the exchangeRead More

Categories
Office365 | M365

Enabling ActiveSync for a Security Group using Powershell

 

Categories
Office365 | M365

Disabling ActiveSync for a Group of Users using Powershell

I have tested this only in a Hybrid environment. Create a Universal AD Security Group called O365_Disabled_ActiveSync_Users. Add all the members to it. Make sure it has an email address that registers in Office365. Connect to Office365 via Powershell ISE:

Copy the following code in a file called DisableActiveSync.ps1 and run in powershell. AddRead More

Categories
Office365 | M365

Assign a Room Mailbox Permissions

If we want to check the detail information of the room mailbox schedule or change the permission level of the Calendar permission.  We should do the following steps:  Add a user as a full permission to the room mailbox via PowerShell: Assign Permission Add-MailboxPermission -Identity “[email protected]” -User “[email protected]” -AccessRights Fullaccess -InheritanceType All Open room mailboxRead More

Categories
Office365 | M365

Close Powershell Sessions!

If you have ever received the error message below or a similar one then you are not closing your PowerShell sessions properly (or at all!). [serverName] Connecting to remote server failed with the following error message : The WS-Management service cannot process the request. This user is allowed a maximum number of 3 concurrent shells,Read More

Categories
Office365 | M365

Set a Room Mailbox to Show Details of a Meeting in its Calendar

You may notice that meetings with a ‘Room’ mailbox will by default only show a “Busy” status. Many, including the organisation I work for, wish to have (at the very minimum) the following displayed in the Room’s calendar: Organiser of the meeting, and The subject of the meeting Below I will demonstrate how to setRead More

Categories
Office365 | M365

Grant & Revoke Access to Mailboxes

There may be times where you may need to grant an IT administrator or other employees access to another user’s mailbox. Below I will demonstrate how to: Grant an Admin access to a single mailbox Grant an Admin access to all mailboxes Revoke the above permissions (recommended cause of action after the Administrator has finishedRead More

Categories
Office365 | M365

Remove Password Expiration

Many customers ask me the question how they can remove password expiration on their Office 365 environment. With the PowerShell command below this can be achieved: First make sure you have the remote signed execution policy set to true. You can do this by running PowerShell in admin mode and running: Set-ExecutionPolicy RemoteSigned Next, run theRead More