Install Microsoft 365 Apps for Enterprise in Shared Computer Activation Mode on Azure Virtual Desktop / Citrix Server / Terminal Servers

office 365

Shared computer activation lets you deploy Microsoft 365 Apps to a computer in your organization that is accessed by multiple users. Shared computer activation is required for scenarios where multiple users share the same computer and the users are logging in with their own account. Normally, users can install and activate Microsoft 365 Apps only on a limited number of devices, such as 5 PCs. Using Microsoft 365 Apps with shared computer activation enabled doesn’t count against that limit. For more information, you can check the link on Microsoft Docs: Overview of shared computer activation for Microsoft 365 Apps. Download Office Deployment Tool Double-click the downloaded file to launch. Accept …

Read more

Office 365 User Provisioning Issue [Unable to create user’s mailbox]

Issue Description When a new user is created in On-Premise active directory which is then synced to Azure AD and a license has been assigned to the user, you get the error: This user’s on-premises mailbox hasn’t been migrated to Exchange Online. The Exchange Online mailbox will be available after migration is completed. Also, you see that the Mailbox is not created for this user in Exchange Online(EXO). Solution: a) Remove msExchMailboxGuid attribute value from the On Premise Active Directory User. b) Remove msExchRecipientDisplayType attribute value. c) Remove msExchRecipientTypeDetails attribute value. d) Move the user to an OU in Active Directory which is not getting synced to Azure Active Directory and run Delta Sync. e) After the …

Read more

Export Users DisplayName, UsageLocation, UserPrincipalName, MFA Status, StrongAuthInfo, DefaultAuthMethod from office 365 / Azure AD using PowerShell in CSV

You can export Office365 users DisplayName, UsageLocation, UserPrincipalName, MFA Status, StrongAuthInfo, DefaultAuthMethod using powershell. The exported data will be in a CSV File which will list these details. Default MFA Method is useful when you want to know who in your company is using which MFA method to authenticate to office365 services. For example, this data is also useful when you are planning to move the users from SMS based method to Phone App Method which is more secure. The PhoneAppNotification method means when users will get notification in MS Authenticator App and they tap on approve to confirm sign-in. First you need to download / Install MSOnline powershell module …

Read more

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 users before you make any changes to it. Also, you will need to connect to connect-msolservice using Global Administrator account or the account which has the rights to …

Read more

How to decommission Exchange Server 2010 after Office 365 Migration

Exchange Server 2010

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 using Azure AD Connect. 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 mailboxes to the cloud or you may have moved to higher version of exchange. Most of the steps given in this article will remain …

Read more

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 issue. “Placing a mailbox on retention hold suspends the processing of an MRM retention policy by the Managed Folder Assistant for that mailbox. Retention hold is designed for …

Read more

How to configure Office 365 SMTP Relay for Multi Functional Devices (Printers, Scanners etc.)

office 365

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 / utilize Office 365 SMTP Relay Service. Any of the given methods can be used to configure the SMTP Relay. However, each one is having a different set …

Read more

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 command Install-Module MSOnline to install the module. Please install or import this module on windows powershell as msol commands are not supported on Powershell core. 2) Find the AccountSKUID using below command. …

Read more

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 Online. You can assign the licenses via GUI or using Powershell as shown below: ✨GUI Method Assign a license using GUI is simple: just Select the user on office …

Read more

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