How to set the password to never expire for all the users on office365

There could be a requirement when you want to set the users password to never expire on office365. The setting for In-cloud accounts is controlled using Set-msoluser command. Please make sure before you set the password for the users to never expire, all users are enabled for Two Factor Authentication (2FA). You can create a conditional access (CA) policy which requires 2FA when anyone access the Cloud resources which will protect the user accounts. First you should check PasswordNeverExpires attribute for the …

Read moreHow to set the password to never expire for all the users on office365

How to decommission Exchange Server 2010 after Office 365 Migration

Scenario Organization has moved all their mailboxes to the Exchange Online from On-Premise Exchange 2010 server. MX Record is cutover to office365 (inbound and outbound mail flow is moved to office365). Active Directory Synchronization is being used for Syncing the users to Azure Active Directory. Requirement Decommission Exchange 2010 server from the environment while keeping the Active Directory Synchronization through Azure AD Connect active / running. Procedure You may have used Hybrid Configuration Wizard (HCW) or Third party Tools to migrate the …

Read moreHow to decommission Exchange Server 2010 after Office 365 Migration

Office365/Exchange Online – Messages are not moving to Archive Mailbox after Applying Retention Policy | Litigation Hold | Retention Hold

Recently came across an issue where we had applied the Mailbox Retention Policy for all the users but for some of the users, emails were not getting moved to Online Archive Mailbox. After investigating on this issue, it was identified that the retention hold was enabled on these users mailbox which was not allowing the messages to move to Archive Mailboxes. I have used below commands to check the Retention Hold value for the users and updated this value to fix the …

Read moreOffice365/Exchange Online – Messages are not moving to Archive Mailbox after Applying Retention Policy | Litigation Hold | Retention Hold

Office 365 SMTP Relay Setup and Configuration

When you move all mailboxes to the office365 (“cloud”), the next thing in your task is to migrate the SMTP Relay Service. If you plan to keep your existing on premise exchange server then it can be used / utilized as a SMTP Relay server. Else, if you plan to decommission the exchange server for good, in that case you can utilize Office365 as a SMTP Relay server to relay the emails. There are three methods which you can use to configure …

Read moreOffice 365 SMTP Relay Setup and Configuration

How to disable a particular service or license for example Teams from office 365 assigned license plan using Powershell

When you assign office 365 license to a user, office 365 services are available to the users like Teams or SharePoint etc. You can enable or disable a specific license for an office 365 account or all office 365 accounts using powershell. Steps: 1) Open Powershell and connect to MSOnline Powershell Module using command connect-msolservice. If you do not have MSOnline Module Installed, you can download it by clicking on MSOnline Offline Installer. Follow the instructions to install the Package Install Powershell Module Manually or use …

Read moreHow to disable a particular service or license for example Teams from office 365 assigned license plan using Powershell

Powershell – Applying Licenses to list of users on Office 365

Summary: Whether the users are provisioned via Azure AD Connect Sync or directly on office 365 cloud (In-Cloud Users). We need to allocate and assign the licenses to the users to get certain features and functionality enabled for them. e.g. For working with Exchange Online, Once you have sync’ed the user to office365, you can assign appropriate license (e.g. Office 365 E3 or office 365 Business Premium etc.) depending upon the plan you purchased from Microsoft to get their mailbox created in Exchange …

Read morePowershell – Applying Licenses to list of users on Office 365

Powershell – Export the list of users and licenses assigned to them from Office 365

Summary: PowerShell Commands to determine the Office 365 Licenses that have been assigned to users. Connect to Exchange Online (EXO) Connect to Azure Active Directory (Azure AD) List the SKUs (Stock keeping units) that the company Owns using Get-MsolAccountSku Export the Users with Licenses assigned to them to a CSV file References:  Product names and service plan identifiers for licensing https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-service-plan-reference

Converting Synced user to In Cloud Only User Account on Office365

When you have Users Synced from your On-Premise Active Directory to Azure Active Directory (AAD) using Azure AD Connect Application, the user account sync status on office 365 will show as Synced from on-premises with this symbol . There are few steps which needs to be followed for converting a user account to In Cloud. Move the user (which you want to convert it to In-Cloud) to an OU (excluded from sync to AAD) in On-Perm Active Directory. Please make sure the …

Read moreConverting Synced user to In Cloud Only User Account on Office365