Exchange: MAPI over HTTP

Messaging Application Programming Interface (MAPI) over HTTP is a transport protocol that improves the reliability and stability of the Outlook and Exchange connections by moving the transport layer to the industry-standard HTTP model. This allows a higher level of visibility of transport errors and enhanced recoverability. Additional functionality includes support for an explicit pause-and-resume function. This enables supported clients to change networks or resume from hibernation while maintaining the same server context.

MAPI over HTTP is a new transport used to connect Outlook and Exchange. MAPI/HTTP was first delivered with Exchange 2013 SP1 and Outlook 2013 SP1. MAPI/HTTP removes the complexity of Outlook Anywhere’s dependency on the legacy RPC technology.

Client requirements: Outlook 2016, Outlook 2013 SP1, Outlook 2010 with KB2899591 installed.

Server requirements: Exchange 2016, Exchange 2013 SP1.

In Exchange Server 2016, MAPI over HTTP is enabled by default at the organization level. In Exchange Server 2013 SP1 isn’t enabled and administrators will have to configure MAPI over HTTP.

Virtual directory configuration

Set-MapiVirtualDirectory -InternalUrl https://mail.contoso.com/mapi –ExternalUrl https://mail.contoso.com/mapi -IISAuthenticationMethods Negotiate

Certificate configuration

Certificate must include domains from InternalUrl and ExternalUrl, e.g. mail.contoso.com

Enable MAPI over HTTP

Enable for entire organization:

Set-OrganizationConfig -MapiHttpEnabled $true

Enable for indiviadual mailbox:

Set-CasMailbox -id <mailbox> -MapiHttpEnabled $true

Connection settings made at the mailbox level take precedence over any organization-wide settings.

Test MAPI over HTTP connections

Test-OutlookConnectivity -RunFromServerId <YourMailServer> -ProbeIdentity OutlookMapiHttpSelfTestProbe

Outlook connection status

RPC connection:

capture

MAPI over HTTP connection:

capture2

Web browser check

Follow URL https://mail.contoso.com/mapi/emsmdb

capture3

Log paths

CAS: %ExchangeInstallPath%\Logging\HttpProxy\Mapi\

Mailbox: %ExchangeInstallPath%\Logging\MAPI Client Access\

Mailbox: %ExchangeInstallPath%\Logging\MAPI Address Book Service\

Advertisements

Exchange HTTP OWA Redirect

Beginning with Exchange 2013 CU 6, the Exchange 2013/2016 itself performs redirection from the default website to the /OWA virtual directory. That means that if a user goes to https://mail.contoso.com Exchange will redirect the user’s browser to https://mail.contoso.com/owa. But what about http? If a user goes to mail.contoso.com, he expects to be redirected to mail page https://mail.contoso.com/owa.

Technet recommends this way https://technet.microsoft.com/en-us/library/aa998359(v=exchg.150).aspx So you need to configure Redirect request and SSL requirements of the Default Web Site and all virtual directories. Not so simple and you will need to perform this operation after any Cumulative Update installation or certificate change.

I recommend more simple way to implement HTTP redirection on Exchange Servers.

  • Open IIS Manager on the Exchange Server and select the server name.
  • Double-click Error Pages.
  • Click the Add action on the right and create a new error page for status code 403.4 that responds with a 302 redirect to https://mail.contoso.com/owa as shown below.

owa

The default website is configured to require SSL, so a user who tries to connect via HTTP will get redirected to https://mail.contoso.com/owa, rather than getting an error page “HTTP 403 Forbidden”.

Skype For Business on Mac

Meet all-new Skype For Business on Mac: https://www.microsoft.com/en-us/download/details.aspx?id=54108

skype-for-business-on-the-mac-client-everything-you-need-to-know-featured-image

How to uninstall old Lync 2011 client:

To perform a clean uninstall of Lync for Mac 2011, follow these steps:

Note You may be able to avoid uninstalling Lync for Mac 2011 if you create a new profile on the Mac. If you contact Microsoft technical support, you may be asked to create the new profile as a troubleshooting step. If the issue is resolved by creating the new profile, it will be determined that the issue was caused by a corrupted profile.

  1. Log on to your computer by using administrative credentials.
  2. Exit Lync if it’s running.
  3. Drag the Lync application to the Trash.
  4. To remove your existing Lync preferences, delete the following files:
    • Users/username/Library/Preferences/com.microsoft.Lync.plist
    • Users/username/Library/Preferences/ByHost/MicrosoftLyncRegistrationDB.xxxx.plist
    • Users/username/Library/Logs/Microsoft-Lync-x.log

      Note
       This file is present only if you turned on Lync Logging.
    • Users/username/Library/Logs/Microsoft-Lync.log
  5. To remove all Lync files from your computer, delete the following folders in the Users/username/Documents/Microsoft User Data folder:
    • Microsoft Lync Data
    • Microsoft Lync History

      Note If you delete the Microsoft Lync History folder, you delete all conversations that are saved in the Conversation History.

  6. In the Applications/Utilities folder, open Keychain Access.
    • Delete any keychains on the left that resemble OC__KeyContainer__<email address>.
    • In your Login keychain, delete the <your email address> certificate.
  7. In the Users/username/Library/Keychains folder, delete all the files that resemble OC__KeyContainer__<email address>.

See the following table for more information about the path locations that are used in Lync for Mac 2011:

Folder path Description
Users/Home Folder/Documents/Microsoft User Data/Microsoft Lync Data Contains information about the users who have logged into Lync for Mac 2011 on this user account.
Users/Home Folder/Documents/Microsoft User Data/Microsoft Lync History Contains conversation history for the user currently logged in.
Users/Home Folder/Library/Preferences/com.microsoft.Lync.plist Contains application preferences for Lync.
Users/Home Folder/Library/Caches/com.microsoft.Lync Contains server names and endpoints from previous connections to Lync servers.

 

Free ebook: Microsoft Azure Essentials: Fundamentals of Azure, Second Edition

9781509302963png_thumb

Free ebook: Microsoft Azure Essentials: Fundamentals of Azure, Second Edition

Microsoft Azure is Microsoft’s cloud computing platform, providing a wide variety of services you can use without purchasing and provisioning your own hardware. Azure enables the rapid development of solutions and provides the resources to accomplish tasks that may not be feasible in an on-premises environment. Azure’s compute, storage, network, and application services allow you to focus on building great solutions without the need to worry about how the physical infrastructure is assembled.

This book covers the fundamentals of Azure you need to start developing solutions right away. It concentrates on the features of the Azure platform that you are most likely to need to know rather than on every feature and service available on the platform. This book also provides several walkthroughs you can follow to learn how to create VMs and virtual networks, websites and storage accounts, and so on. In many cases, real-world tips are included to help you get the most out of your Azure experience.

In addition to its coverage of core Azure services, the book discusses common tools useful in creating and managing Azure-based solutions. The book wraps up by providing details on a few common business scenarios where Azure can provide compelling and valuable solutions, as well as a chapter providing overviews of some of the commonly used services not covered in the book.

Download here.

Azure DNS generally available

Available for use in all public Azure regions, Azure DNS lets customers host their Domain Name System (DNS) domains in Azure and manage DNS records using the same credentials, APIs, tools, billing, and support as their other Azure services. Azure DNS also incorporates enterprise-grade security features in Azure Resource Manager for two-factor authentication, role-based access control, and detailed audit logs. Azure DNS uses a global network of name servers for extremely high performance and availability, now backed by a 99.99 percent availability service-level agreement (SLA). Azure DNS pricing is based on the number of hosted DNS zones and the number of DNS queries received (in millions); general availability pricing will go into effect November 1, 2016.

New Outlook.com experience and Office 365 support

Outlook.com new interface now is available for users. Looks almost identically as Microsoft Exchange Outlook Web App.

outlook04

 

What’s new:

  1. Renewed interface
  2. Increased speed, works very fast, no loading dots.
  3. Add-ins. You can choose from hundreds add-ins.I like restaurant finder Zomato, PayPal for Outlook, Yelp, Uber Ride reminder, Package tracker, Boomerang.outlook05
  4. All-new options menu. It’s clear and fast.outlook06
  5. Now you can pin important messages at the top of your inbox.outlook07
  6. Suggestion box. You can share your ideas or feedback with Outlook team.outlook08
  7. Mentions.Now it’s easy to draw someone’s attention to a request or question you have for them. Just add an @ symbol and their name to an email message or calendar item and they’ll be notified automatically.
  8. New Calendar design.
  9. New Outlook People design. You still cannot change contact pictures.
  10. Full Office 365\Exchange support!!! Good bye, IMAP! Add-ins and add-ins store also works with Outlook 2016 client.outlook10outlook11

You can’t join a meeting from outside Lync 2013, Lync 2010, or Skype for Business on iOS 10.0 and later

Consider the following scenario:

  • You’re using an Apple iPhone or Apple iPad that’s running Apple iOS 10.0.
  • You have Microsoft Lync 2013, Lync 2010, or Skype for Business installed on the device.
  • You try to join a meeting from outside the Lync or Skype for Business app. For example, you tap the “Join Meeting” link in an email message or calendar appointment in an app other than Lync or Skype for Business.

In this scenario, the link tries to start the desktop version of the website instead of the mobile version. The mobile version would try to start the Lync or Skype for Business app and join the meeting, or redirect you to the app store if it cannot join the meeting. The desktop version will not try to start the app.

Workaround from MS support

Fix will be available in Skype for Business CU4, Lync 2013 CU8 HF1.