Showing posts with label Office 365 Mailbox Management. Show all posts
Showing posts with label Office 365 Mailbox Management. Show all posts

Thursday, December 10, 2015

Mailbox Permission Delegation – Full Access\ Send As\ Send on Behalf

You can use the EAC or the Power Shell to assign permissions to users or groups (called delegates). Also permissions can be assigned to user mailboxes, linked mailboxes, resource mailboxes, and shared mailboxes. You can also assign permissions to distribution groups, dynamic distribution groups, and mail-enabled security.

Full Access - This permission allows a delegate to open a user’s mailbox and access the contents of the mailbox.

Set permission Example:
Add-MailboxPermission -Identity "ThinkTelMonitor@domain.com" -User ricks -AccessRights FullAccess -InheritanceType all

Verify the permission:
Get-MailboxPermission –Identity “ThinkTelMonitor@domain.com”

Send As - This permission allows delegates to use the mailbox to send messages. After this permission is assigned to a delegate, any message that the delegate sends from the mailbox will appear to have been sent by the mailbox owner.

Set permission Example:
Add-ADPermission -Identity ThinkTelMonitor@domain.com -User Ricks -ExtendedRights "Send As"

Verify the permission:
Get-RecipientPermission -Identity ThinkTelMonitor@domain.com -Trustee ricks

Remove permission:
Remove-ADPermission -Identity "ThinkTelMonitor@domain.com" -User ricks -ExtendedRights "Send As"

Send on Behalf - This permission also allows a delegate to use the mailbox to send messages. After this permission is assigned to a delegate, the Fromaddress in any message sent by the delegate indicates that the message was sent by the delegate on behalf of the mailbox owner.

Set permission Example:
Set-Mailbox -Identity ThinkTelMonitor@domain.com -GrantSendOnBehalfTo Rickc

Remove Permission:
Set-Mailbox "ThinkTelMonitor" -GrantSendOnBehalfTo@{remove="rickc@domain.com"}

Verify the permission:
Get-Mailbox -Identity ThinkTelMonitor@domain.com | FL GrantSendOnBehalfTo

Thanks
@Roshan

Wednesday, December 9, 2015

How to Create Exchange 2010 Shared Mailbox when in Hybrid

 

NOTE: The shared mailboxes in the cloud will not require an O365 license as of now. So it is worthwhile to utilize the feature whenever possible.

Step – 1 >> Create a User Mailbox

Login in to one of the on premise Exchange server and open EMC

clip_image002

Navigate to ‘New mailbox’ under ‘Recipient Configuration‘

clip_image004

Select ‘User Mailbox’

clip_image006

Click on ‘New User’ and fill the user information

clip_image008

Click on ‘Next’ and select the ‘Mailbox Database’

clip_image010

Select ‘Don’t create an archive’

clip_image012

Click ‘Next’ to continue and Click ‘New’ in the next screen

clip_image013

Click ‘Finish’ to create the mailbox

clip_image014

clip_image016

Power Shell Command – Makes much easier to create mailbox without many clicks, you’ll be prompted for the Password.
New-Mailbox -Name 'ThinkTel Monitor' -Alias 'ThinkTelMonitor' -UserPrincipalName 'ThinkTelMonitor@xxxxxx.com' -SamAccountName 'ThinkTelMonitor' -FirstName 'ThinkTel' -LastName 'Monitor' -Database 'Exchange2010NSL'

Step – 2 >> Start the DirSync

a. In Active Directory Sites and Services, force replication across all sites if you have multiple AD sites.
b. From the DirSync server, force online synchronization. From an elevated Command Prompt, run DirSyncConfigShell.psc1 (from C:\Program Files\Microsoft Online Directory Sync), then type Start-OnlineCoexistenceSync.
c. Verity the Changes has been sync to Cloud.
Step – 3 >> Move on premise mailbox to the cloud
Select the Mailbox and Click on ‘New Remote Move Request’

clip_image018

Click on ‘Next’ to continue the wizard

clip_image020

Provide Proxy Server FQDN of Source\Internal
Provide Exchange admin Credentials and click on ‘Next’

clip_image022

Provide Target Delivery Domain FQDN and Click Next

clip_image024

Click ‘Next‘

clip_image026

Provide Cloud credentials and click ‘OK’

clip_image027

Click ‘Finish’ to start the move process.

clip_image029

Power Shell Command – Makes much easier to create mailbox without many clicks, Open the PowerShell ISE or shell

1. Run Windows PowerShell as Admin
2. $Cred=Get-Credential (cloud admin)
3. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic -AllowRedirection
4. Import-PSSession $Session
5. $RemoteCredential=Get-Credential (on-premises admin)
6. Run New-MoveRequest with the required switches (check the log for the failed move):

Examples:
New-MoveRequest -Identity ‘ThinkTellMonitor’ -Remote -RemoteHostName exchservice.xxxxxxxx.com -TargetDeliveryDomain service.xxxxxxx.com -RemoteCredential $RemoteCredential -BadItemLimit 5 -LargeItemLimit 5
7. When finished, disconnect the session by typing Remove-PSSession $Session
Click on Move Request under Cloud Connection and monitor the progress.

clip_image031

Step – 4 >> Log in to Office 365 Portal and navigate to Admin

clip_image033

a. Click on Exchange and open recipient’s window search for ‘Think………’ Mailbox
b. From the right hand side pane Click on Convert to Shared Mailbox

clip_image035

In the warning window click ‘Yes’ to continue

clip_image036

Click Close to complete.

clip_image037

Navigate to ‘Shared’ and now you should be able to see the new mailbox ‘Think………’

clip_image039

Thanks
@Roshan

Tuesday, December 8, 2015

Disable / Junk mail, read receipts, recoverable items and automatic processing O365

 
Disabling read receipts for Microsoft Office 365 mailbox
1. Log in into Microsoft Office 365 using the journal mailbox user account.
2. Go to Outlook tab.
3. Select Settings
image icon then click Options.
4. Expand the MAIL section and click on Read receipts
5. Select Never send a response
6. Click on SAVE to save changes

image
Disable Junk Mail Options
1. Log in into Microsoft Office 365 using the journal mailbox user account.
2. Go to Outlook tab.
3. Select Settings
image icon then click Options.
4. Expand the MAIL section and Expand the Accounts
5. Click on Block or Allow and Select “Don’t move email to my junk Email folder”
6. Click on SAVE to save changes

image
Disable Automatic Processing of Calendar Items
1. Log in into Microsoft Office 365 using the journal mailbox user account.
2. Go to Outlook tab.
3. Select Settings
imageicon then click Options.
4. Expand the CALENDAR section and Click on Automatic processing
5. Un-tick  Delete invitation and responses ………… and Delete notifications about forwarded events
6. Click on SAVE to save changes

image
Disabling the Recoverable Items folder in Microsoft Office 365
You’ll need to open “Windows Azure Active Directory Module for Windows PowerShell” module
Run the following command:

1. $UserCredential = Get-Credential and key in the required credentials.
3. To start your remote session with Exchange Online, run the following command:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
https://ps.outlook.com/powershell/ –Credential $UserCredential -Authentication Basic -AllowRedirection
4. Run the following command: Import-PSSession $Session
5. To disable the Recoverable Items folder functionality, run the following command: Set-Mailbox –Identity journal –SingleItemRecoveryEnabled $False –RetainDeletedItemsFor 0
6. To disconnect your session, run the following command: Remove-PSSession $Session


-Thanks
@ Roshan










Thursday, April 30, 2015

Remove Mailbox Move Flag using ADSIEdit– O365 Hybrid with Exchange 2010 Sp3


After a failed move request, sometimes (for unknown reason) the mailbox is still marked is being moved and cannot be removed again... the mailbox is shown with a green icon on the EMC (Exchange Management Console), however it cannot be seen on the "Move Request" section or with Get-MoveRequest command and cannot be cleared with the Remove-MoveRequest command. If you are in a situation like the above then this post for you.
Login to a DC using administration rights then follow the instructions given below.
1. Open ADSIEDIT and navigate to the OU where your broken user account is stored.
image
2. Locate the user account, right-click on it and then choose "Properties".
3. Click on the "Filter" button and make sure "Show only attributes that have values" is checked.
image
4. Scroll down the attributes and search for an entry called "msExchMailboxMoveRemoteHostName".
image
5. Click on the "Edit" button.
image
6. Click on the "Clear" button.
7. Click the "OK" button.
image
Now the mailbox move flag should be removed from the EMC.
Start the remote move request again. Good Luck

Thanks
@Roshan

Export Mailbox Using in-place eDiscovery & Hold–O365

Search the mailboxes in your organization for email and other message types that contain specific keywords or meet other search criteria. You can create a new search, or edit and restart an existing one.
And there is another important thing, you can use it to export O365 mailbox to a PST.  Below is the steps to use it for that purpose.
Log on to https://portal.office.com with O365 Administrator credentials
Click on Exchange under ADMIN
image
Click on in-Place eDiscovery  & hold under Compliance Management
image
Click on + and type a Name for the task Click on Next
image
image
Add a user or multiple if needed and then click next
image
image
Select the appropriate Search Query (Default is include all content) and click on Next
image
If you need to enable Hold Select the appropriate settings here.
image
Once done Click on Finish
image
Waits for the estimate finish and click on Preview Search results to see the contents that will be Exported.
image
To Start the Export click on Down arrow button shown in below
image
Click on Save
image
Click on Run
image
Browse a location to save the PST and select appropriate Options
image
Type the cloud user name and password
image
The progress will be displayed on new window
image
image
Once completed you click to Close.
image
Browse the PST location for details about the Export and PST file. Check for the errors in the log file.
image

Thanks
@Roshan