Posts

Showing posts from 2017

Recover Office365 group

Image
Recover Office365 group Deleted Office365 group can be recovered using Azure AD powershell. The retention period is 30 days and group can be recovered if they are in soft deleted.Connect to your environment and search for the deleted group. Connect to Azure AD powershell Enter following command to view the list of soft deleted groups. Get-AzureADMSDeletedGroup Copy the ID of the group and use in the following syntax to recover the group. Restore-AzureADMSDeletedDirectoryObject -Id "groupID" The recovered group will be visible back in the EAC and also to group members.

Creating resource (room or resource) mailboxes on Office365 Exchange online hybrids

Creating resource (room or resource) mailboxes on Office365 Exchange online hybrids Create a AD object and then enable a remote mailbox from On-Prem Open Active Directory users and computers console.  Navigate to the desired OU (remember that the OU should be Synced to Office365) Right Click on the OU to create a New user. Complete the user details in the New Object dialog box and click on finish. Open exchange management powershell on the Hybrid servers and run the below command to enable a remote mailbox for the user. Enable-RemoteMailbox -Identity "useralias@domain.com"  -primarysmtpaddress " useralias@domain.com" -RemoteRoutingAddress "useralias@tenant.mail.onmicrosoft.com" Please add " smpt: useralias@tenant.mail.onmicrosoft.com " to proxyaddress list to avoid mail flow issues. Wait for the object to Sync We would be able to search for the user in Office365 Admin console once the sync is completed. We would be searching ...

Converting office365 exchange online mailbox to resource (room or equipment) mailbox

Converting office365 exchange online mailbox to resource (room, equipment) mailbox Conversion of the regular to resource (room or equipment) mailbox is done through Powershell. Please follow the below link and steps. Connect to Exchange online powershell Enter any of the following command to convert the mailbox to room.  Set-Mailbox -Identity "useralias@domain.com" -Type  room Set-Mailbox "useralias@domain.com" -Type  room Enter any of the following command to convert the mailbox to equipment.  Set-Mailbox -Identity "useralias@domain.com" -Type  equipment. Set-Mailbox "useralias@domain.com" -Type  equipment.

Creating shared mailboxes on Office365 / Exchange online hybrids

Creating shared mailboxes on Office365 / Exchange online hybrids Create a AD object and then enable a remote mailbox from On-Prem Open Active Directory users and computers console.  Navigate to the desired OU (remember that the OU should be Synced to Office365) Right Click on the OU to create a New user. Complete the user details in the New Object dialog box and click on finish. Open exchange management powershell on the Hybrid servers and run the below command to enable a remote mailbox for the user. Enable-RemoteMailbox -Identity "useralias@domain.com"  -primarysmtpaddress " useralias@domain.com" -RemoteRoutingAddress "useralias@tenant.mail.onmicrosoft.com" If you need Archive to be enabled, run the below command as well. Enable-RemoteMailbox -Identity "useralias@domain.com" -Archive Please add " smpt: useralias@tenant.mail.onmicrosoft.com " to proxyaddress list to avoid mail flow issues. Wait for the obje...

Converting office365 exchange online mailbox to shared

Image
Converting office365 exchange online mailbox to shared This can be done through EAC or Powershell Using EAC Log on to  Office365 portal  then navigate to Exchange Admin Center (EAC) or open  EAC  directly. Select Admin tile to view your Admin center page. Select Exchange from the Admin drop down.  Select mailboxes from the EAC page (or) Recipients > mailboxes  search and select the mailbox.  On the right hand pane, please click on convert to change the mailbox to shared Using Powershell Connect to Exchange online powershell Enter any of the following command to convert the mailbox to shared.  Set-Mailbox -Identity "useralias@domain.com" -Type shared  Set-Mailbox "useralias@domain.com" -Type shared 

Creating User mailboxes on Office365 / Exchange online hybrids

This post would help to create User mailboxes in Hybrid environment. The best way to do is creating a user account/mailbox On-Prem AD and then enabling remote mailbox or migrating it to Exchange online.We will discuss on the below scenarios. 1) Create a Office365 mailbox from EAC. 2) Create a AD object and then enable remote mailbox from On-Prem. 3) Enable remote mailbox for a existing AD user. The following two methods will not populate the Exchange attributes on the On-Prem and will impact Exchange functionality and feature (like autodiscover) while using a Hybrid setup. How to remedy it will be discussed in another thread. 4) Creating AD object and licensing it to directly provision mailbox on Exchange online. 5) Soft match existing Exchange online mailbox to AD user. Note: Please use appropriate naming convention as per your organisation email address policy like lastname.firstname or firstname.lastname. I have used useralias in the examples below. Create a Office365...

Assigning License to a Office365 User

Image
Assigning License to a Office365 User Log on to Office365 portal  Select Admin tile to view your Admin center page you can search the user on the Admin center home page or search from the Active user tab. Select the user and click edit on the product license tab. Fill the location and select appropriate license/service with in the license.

Find primary mail address of a Office 365 / Exchange Online mailbox

Image
Find primary mail address of a Office 365 / Exchange Online mailbox Using portal Log on to  Office365 portal  then navigate to Exchange Admin Center (EAC) or open  EAC  directly  Select Admin tile to view your Admin center page Select Exchange from the Admin drop down.  Select mailboxes from the EAC page. search for the user, click on the user to get the mailbox property.  Select email address from the list on the left. The address which is highlighted and in caps is the primary mail/SMTP address. We can also use powershell to get the mail address details Open powershell as administrator Connect to Exchange online Run any of the below command Get-Mailbox <"alias" or "displayname"> | select PrimarySmtpAddress Get-Mailbox -Identity <"alias" or "displayname"> | select PrimarySmtpAddress

Connect to Exchange online powershell

Image
Connect to Exchange Online powershell Run Powershell as administrator Copy paste the below commands and enter credentials when prompted $cloudcred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cloudCred -Authentication Basic -AllowRedirection Import-PSSession $Session Alternatively you can save above commands in a file as .ps1 and execute it on the powershell window The newer powershell module Exchange PowerShell V2 allows you to connect directly using below command and also support MFA. Connect-EXOPSSession -UserPrincipalName "your UPN" use can connect to Azure Active directory and Exchange online by running the following commands (by just add two line to the above one) import-module msonline $cloudcred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com...

When recipient doesn't receive your mail in HTML format and see plain text

If you are able to send and receive mails in HTML format then issue might be at the recipient end. How the message appears to the person receiving it depends on their email program. If the recipient's email program is set to convert messages, then a message you send formatted as HTML could be converted to plain text. Please ensure the below settings are set on Outlook. On the File tab, choose Options > Mail. Under Compose messages, in the Compose messages in this format list, click HTML   Please ensure the below settings are set on Office365 OWA/Webmail. Log on to https://outlook.office.com/owa/ At the top of the page, select Settings (gear icon)  > Options, and then select Settings > Mail Mail > Layout > Message format Compose messages in this format is set to HTML At the recipient end, check for the below settings in the Outlook application and try to disable Antivirus add-ins/scans. Click on File > Options > Trust Center...