• Shared Mailboxes in Office365

    After getting a few questions on Shared Mailboxes, and how you can manage them in Exchange Online as part of Office365, I decided to group a few of these questions and answers into this blog post.

    Q1. How can you create a Shared Mailbox in Exchange Online – Office365

    A1. By using the Exchange Management Shell

    Smile

    More info on how to do this, please check out this URL: http://technet.microsoft.com/en-us/exchangelabshelp/ee441202

    In the example below, I’m creating a new shared mailbox called Info.

    New-Mailbox Info -Shared

    Q2. How to grant users Full Mailbox Access?

    A2. By using the Exchange Management Shell, or the Exchange Management Console

    Opening the Exchange Management Console, connecting to Exchange Online, go down to Recipient Configuration, and selecting your Shared Mailbox, will give you the ability of managing Full Mailbox Access:

    SNAG-00645

    SNAG-00646

    SNAG-00647

    Granting Full Access only enables a user top open the Shared Mailbox, and does NOT provide the ability of sending mail as that Shared Mailbox, or send mail on behalf of that Shared Mailbox.

    Q3. How to grant Send-On-Behalf on a Shared Mailbox in Exchange Online?

    A3. Using the Exchange Management Shell cmdlet Set-Mailbox

    and assign a value to –GrantSendOnBehalf to. In this example I have created a Distribution Group, and I have granted this group send on behalf permissions on the Shared Mailbox Info.

    SNAG-00637

    When Ilse sends a message as Info, the message will be received as:

    SNAG-00635

    Q4. Can I grant Send-As Permission?

    A4. Yes you can, by using the Exchange Management Shell cmdlet  Add-RecipientPermission

    SNAG-00638

    Q5. Can I see who has Send-As permission on a mailbox?

    A5. Yes, using the Exchange Management Shell cmdlet Get-RecipientPermission

    SNAG-00639

    Q6. Is there a way to see who actually sent the message?

    A6. Yes, using the auditing features introduced with Exchange 2010 Sp1, which are available in Exchange Online as well.

    In order to be able to see who did send this message, you will need to enable auditing before-hand, using the Exchange Management Shell cmdlet Set-Mailbox!

    SNAG-00642

    Now when someone sends a messages as Info:

    SNAG-00643

    The message will be arrived as:

    SNAG-00648

    To track who really sent this message, run the following line in Exchange Management Shell:

    Search-MailboxAuditLog –Identity Info –LogonTypes Delegate –ShowDetails

    SNAG-00644

    Ilse

  • A URL post on Lync–Exchange–Online–On Premises

    First: my very best wishes for 2012 to you all!!!!

    Second, just posting a blog post containing a list of URL’s I refer to a lot when visiting customers or doing presentations. I’ve grouped them a bit, and I will update the list as time moves along (at least, I’ll try to…)

    Exchange General:

    Lync General:

    FOPE: Forefront Online Protection for Exchange

    Hybrid: Exchange/Lync Online &/or On Premises:

    Office Professional Plus vs Office Standard:

    Office 365:

    Ilse

  • Add an Alias to a Distribution Group in Exchange Online (Office365), and Removing one...

    Looking back to BPOS, the only way to add an alias to a distribution group, was by using DirSync, as described here:

    http://social.technet.microsoft.com/Forums/ar/onlineservicesexchange/thread/0dab060f-41a2-4ef2-926d-8b6e0b2464c8

    With the arrival of Office365, and Exchange Online, time to see if it is possible now to have one distribution group with multiple email aliasses, even without using DirSync.

    Goal = have a distribution group, with 3 email addresses: Sales@sir.onmicrosoft.com,Sales@vancriekinge.be, and info@sir.onmicrosoft.com

    First I will create the new distribution group, using the Exchange Control Panel. I sign into OWA, and from there click on Options, and select to manage My Organization, and from there I create a new distribution group called Sales:

    SNAG-00458

     

    SNAG-00459

    Now time to add the two other addresses…

    Option 1. Use the Exchange Control Panel

    SNAG-00460

    When selecting the distribution group Sales, and clicking on Details, I can see there is currently one e-mail address, and no Add button:

     

    SNAG-00461

    But when going to the General options, I can see that I can change the e-mailaddress of the group, and that the existing addresses will be kept!

    SNAG-00462

    So I enter Info in the E-Mail address, and press Save:

    SNAG-00463

    When checking the E-Mail Options, I can see there are now two e-mail addresses for my distribution group:

    SNAG-00465

    But no option to remove any of these…

    Option 2. Using the Exchange Management Shell

    Easy Smile After connecting to Exchange Online, I will use a variable to add the e-mail address of info@vancriekinge.be to the distribution group.

    PS C:\Users\ilse> $sales = Get-DistributionGroup sales
    PS C:\Users\ilse> $sales.EmailAddresses
    SMTP:Info@Sir.onmicrosoft.com
    smtp:Sales@Sir.onmicrosoft.com
    PS C:\Users\ilse> $sales.EmailAddresses += "sales@vancriekinge.be"
    PS C:\Users\ilse> $sales.EmailAddresses
    SMTP:Info@Sir.onmicrosoft.com
    smtp:Sales@Sir.onmicrosoft.com
    sales@vancriekinge.be
    PS C:\Users\ilse> Set-DistributionGroup -Identity Sales -EmailAddresses $sales.EmailAddresses
    PS C:\Users\ilse> Get-DistributionGroup sales

    Name                    DisplayName             GroupType               PrimarySmtpAddress
    ----                    -----------             ---------               ------------------
    Sales                   Sales                   Universal               Info@Sir.onmicrosof...


    PS C:\Users\ilse> Get-DistributionGroup sales | fl *emailad*

    EmailAddresses            : {smtp:sales@vancriekinge.be, SMTP:Info@Sir.onmicrosoft.com, smtp:Sales@Sir.onmicrosoft.com}
    EmailAddressPolicyEnabled : False
    WindowsEmailAddress       : Info@Sir.onmicrosoft.com

    Check via ECP, and it’s done Smile

    SNAG-00467

    Using the Shell, it’s different to remove an e-mail address:

    PS C:\Users\ilvancri> Get-DistributionGroup sales | fl *emailad*

    EmailAddresses            : {smtp:sales@vancriekinge.be, SMTP:Info@Sir.onmicrosoft.com, smtp:Sales@Sir.onmicrosoft.com}
    EmailAddressPolicyEnabled : False
    WindowsEmailAddress       : Info@Sir.onmicrosoft.com

    PS C:\Users\ilvancri> Set-DistributionGroup -Identity Sales -EmailAddresses 'smtp:sales@sir.onmicrosoft.com','SMTP:info@sir.onmicrosoft.com'
    PS C:\Users\ilvancri> Get-DistributionGroup sales | fl *emailad*

    EmailAddresses            : {SMTP:info@sir.onmicrosoft.com, smtp:sales@sir.onmicrosoft.com}
    EmailAddressPolicyEnabled : False
    WindowsEmailAddress       : Info@Sir.onmicrosoft.com

    A check in ECP reveals the e-mail address sales@vancriekinge.be is gone…

    SNAG-00468

    Option 3. Using the Exchange Management Console

    As blogged before (http://blogs.technet.com/b/ilvancri/archive/2011/10/14/exchange-online-change-primary-smtp-address-without-changing-sign-in-address.aspx) it is possible to install the Exchange Management Console, and use it to connect to your Exchange Online environment, even if you do not have a Hybrid setup with an Exchange On Premises.

    Using the Exchange Management Console, you can go to the properties of your distribution group, and add/remove e-mail addresses as you need:

    SNAG-00469

     

    SNAG-00470

     

    Exchange rocks!

    Ilse

  • The secret about a successful export-to-pst and import-from-pst migration is called Add Custom Address, type X500

    The last few months, I have had the below question pop up regularly…

    Question:

    is it possible to export the content of my On Premises mailboxes to PSTs, and then import them into my brand new Exchange Online environment?

    Answer:

    Yes, you definitely export your mailbox content to a PST, and import that PST back into your new mailbox

    But, the problem that usually pops up is, that when replying to a mail that has been imported back into the new mailbox from the PST, and it’s a reply to a another mailbox homed in the same mail environment, a user gets the following NDR:

    Delivery has failed to these recipients or groups, The e-mail address you entered couldn’t be found…. as seen below:

    IVC-1039

    Solution?

    One way of solving this, is when you reply to a mail imported from your PST, and destined for anyone in the same Exchange environment, to just remove the name, and search for it again in the Global Address List, that will work

    But: is that user friendly?

    Definitely not, so, time to investigate, and come up for a better way to solve this!

    Setting the scene

    I currently have an Exchange 2010 Sp1 On Premises deployed, with two mailbox-enabled users:

    IVC-1017

    Both mailbox-enabled users have sent a few mails between one-another:

    IVC-1019

    Now, I want to export the content of these two mailboxes to a PST, that I want to import into a brand new Exchange Online environment. First I will delegate myself (being the administrator) the abililty to export mailboxes to a PST using the Exchange Management Shell cmdlet New-MailboxExportRequest, by running the following line in the EMS: New-ManagementRoleAssignment –role “Mailbox Import Export” –user “MsBelgium\Administrator”

    IVC-1021

    Followed by the export itself:, issuing New-MailboxExportRequest:

    IVC-1023

    And double-check to make sure it’s finished, using Get-MailboxExportRequest:

    IVC-1024

    Next up: Create two mailbox-enabled users in my Office 365 environment, and hand out the same e-mail addresses to both users:

     

    IVC-1025

    Everything is looking as it should, being, ok Smile

    Time to open up Robin’s mailbox using Outlook Anywhere, and import the previously exported PST file:

    IVC-1027

    IVC-1028

    IVC-1029

    Everything seems to be in order, but now, Robin wants to reply to a mail received from his colleague Rita, now watch the MailTip provided by Outlook 20101

    IVC-1030

    But let’s just ignore the warning provided by the MailTip, and press Send…. and let’s have a look at the NDR we are getting immediately:

    IVC-1039

    and the below info, Diagnostic information for administrators:

    IVC-1031

    Interesting, searching the web, got me more information about this issue, for example at the following links:

    So, how to solve this?

    Simple: Use the Exchange Management Shell, or the Exchange Management Console to add the X500 address to the mailbox-enabled users

    SNAG-00377

    SNAG-00378

    After clicking OK, and checking with the Shell we can see the X500 address has been successfully added:

    IVC-1040

    When replying to the same message, we don’t get the MailTip anymore Smile

    IVC-1037

    And the message arrives, without any problem:

    IVC-1038

    Exchange simply rocks!

    Ilse

  • Exchange Online: Change Primary SMTP Address without changing Sign-In address

    By default, when you mail-enable a user, that user will be given an e-mail address that matches the user’s online services id. You can always add other e-mail addresses, using Exchange Control Panel:

    SNAG-00324

    As you can see, it is not possible to change the primary e-mail address using this Exchange Control Panel, when you change the user its online services id, the primary e-mail address will match the new online services id… so:

    Question

    Is it possible to change the primary e-mail address of a user without changing it’s online services id?

    Answer

    Yes, by looking here:

    http://community.office365.com/en-us/w/administration/changing-primary-smtp-address-without-changing-the-microsoft-online-services-id.aspx

    You can see that by using the Exchange Shell, it’s fairly easy to change the primary e-mail address without changing the Microsoft online services id.

    But….isn’t there an easier way?

    And, yes there is…using the Exchange Management Console

    You can install the Exchange Management tools on a Windows 7, as described here: Install the Exchange 2010 Management Tools

    http://technet.microsoft.com/en-us/library/bb232090.aspx

    SNAG-00331

    After installing the required windows components, I am ready to Retry:

    SNAG-00333

    SNAG-00334

    SNAG-00335

    When launching the Exchange Management Console, I get an error that he is unable to connect to an On Premises Exchange environment, but I can right-click and select Add Exchange Forest:

    SNAG-00337

    And chose to select to Exchange Online:

    SNAG-00338

    And there I can see the mailboxes in my Online environment:

    SNAG-00342

    When going to the properties of my mailbox, I can select the tab E-Mail Addresses,

    SNAG-00343

    click on ilse@vancriekinge.be, and click Set as Reply:

    SNAG-00345

    Time to test:

    SNAG-00349

    Primary E-Mail address has changed, and the Online Services id hasn’t Smile

    Ilse