How to establish a Microsoft Exchange connection (Office 365)?

My institution has just informed me that they are switching off IMAP and POP access from Monday. Email and calendaring are provided by Office 365. Alternative configuration instructions are available for mobile devices (iOS, Blackberry, Android etc.) but not for Thunderbird. Their only suggestion is a paid plugin which my school would have to pay for. This just ain't gonna happen. Moreover, I would prefer a free software option if at all possible. ('Free' as in 'freedom', though beer is important, too.)
Calendaring isn't important as I have that setup independently of my organisation's provision. Only email matters.
Searching rather urgently has turned up a few leads but they are generally quite old and almost all require IMAP and/or POP enabled on the server. Beyond that, I've come across the following possibilities:
davmail which apparently bridges between OWA and IMAP/POP, but I'm not clear if this would work with Office 365 as I've only found references to using it with older MS Exchange servers;
evolution with a plugin;
possibly KDE's mail programme, although I'm not clear from the information I've found whether this is really an option or not.
I'm running KDE. If possible, I'd prefer to avoid the Gnome dependencies of evolution. However, if that's the only option, so be it. An ideal solution will work on Fedora as well as Arch. (Obviously Fedora is off-topic here - I just thought I might as well mention it.) A really ideal solution would also let me continue using Thunderbird without relying on proprietary code, but I'm beginning to think this is probably a pipe dream.
The most attractive of the above options is currently davmail, if that is really an option. However, I get the impression that this could require considerable overhead.
I would greatly appreciate any advice or pointers anybody can offer me. So far, I've not found anything which even mentions Linux with Office 365. I'm not sure if this is because 'Office 365' is actually relying on something else (and that's what I need to search for), whether it is because the situation is hopeless or whether it is for some other reason.

brebs wrote:
cfr wrote:I'm not clear if this would work with Office 365
Well, 10 seconds of googling for "office 365 imap" shows encouraging davmail fixed bug report.
Thanks. Sorry. I did spend a lot of time searching but I did not find that. (Using IXQ for search.) But I was not trying 'imap' specifically - rather 'linux' - as I just wanted any way to access it. And the results I got tended to assume the Exchange server had imap enabled.
Some things I would raise:
* Check the IT policy regarding whether Linux is supported/accepted. And if not, why not.
* Push for clarification regarding the supposed security risk, or whatever is being used as justification.
As Trilby pointed out, this is useless.
Linux is not supported except on a 'best effort' basis. I run Linux on my office PC. I'm entirely responsible for it. Local IT will help if they possibly can. Central IT will say that Linux is supported sufficiently because you can use web mail.
They do not need to justify this. There does not need to be an answer to 'why not?'
No justification has been offered for switching off the support. Trilby's IT invoke security to justify not turning it on. My IT offer no reason for turning it off. It is just a fact that it is being switched off.
[For some reason, it has not yet been switched off, although they said it would be yesterday.]
The suggestion of raising these issues may sound perfectly reasonable, but it is a suggestion based on ignorance of reality.
In a sane world, it would make perfect sense. But this is academia in 2015. (Not just academia, I know.) Sanity is an irrelevant standard.
Last edited by cfr (2015-06-09 15:31:28)

Similar Messages

  • MAPI_E_LOGON_FAILED(80040111) when testing Microsoft Exchange Connectivity

    Hi everybody
    I could really use some help on Microsoft Exchange Connectivity Architecture based on CDO. The documentation I have followed can be found here: http://help.sap.com/saphelp_nw70/helpdata/en/c9/b9182b06af714c89d7d39c76af22a1/frameset.htm.
    Generally I have followed the documentation as much as possible, though the following two pieces of information might be the root cause to my agony:
    1) The key HKEY_USERS.DefaultSoftwareMicrosoftWindows NTCurrentVersion Windows Messaging SubsystemProfiles from http://help.sap.com/saphelp_nw70/helpdata/en/43/5df14ef76130b4e10000000a11466f/frameset.htm cannot be found on the computer where I have my IIS installed (the IIS is installed on the portal server which resides in the same domain as the exchange server). How come this key is not present and what does it represent?
    2) The version of CDO.dll on the IIS (portal server) is 1.2.1s (6.5.7233.48) and is installed together with Outlook 2003. The version of CDO.dll on the Exchange Server is 1.2.1 (6.5.7651.61) and is installed together with Exchange 2003 SP2. This might also be a issue?
    I have read that there are potential problems with the 1.2.1s in a certain note, but the errors described in that note did not correspond to the one I'm getting.
    The portal is running NW04s SPS 10.
    When I use the test-tool (SAPPXchTest.exe) I get the following error in the log:
    The information store could not be opened. [MAPI 1.0 - ]
    6/4/2007 9:58:10 AM Closing logging for user [email protected]
    Any (fast) help on this issue will be rewarded.
    Kind regards,
    Martin Søgaard

    Hi Philipp
    Yes, I did manage to solve this problem.
    It was because the Exhange Server should be set up as the domain controller as well. This setup raises a lot of security issues though, which Im consulting SAP about at the moment.
    Kind regards,
    Martin Søgaard

  • Cannot install the Microsoft Exchange connectivity analysis tool

    I am troubleshooting our new 2013 Exchange server because Outlook client cannot connect but OWA is working fine. The 2 new 2013 Exchange server as DAG were installed to co-exist with Exchange 2007.
    I am trying to download and install Microsoft Exchange connectivity analysis tool BUT always got an error "Error attempting to install the Microsoft Exchange connectivity analysis tool"  and in the log the error is "URLDownloadToCacheFile
    failed with HRESULT '-2146697208'.
    I am installing it in Windows 8 64b, Please help as we are troubleshooting the new Exchange without any success so far...If there is an full download link, please provide.
    Thanks in advance...

    Hi Teyob,
    Did you try to use different browser to check if the issue persist?
    This issue was occurred on browser. If you IE with this issue, we should check to clear the option "Warn if changing between secure and not secure mode" from your Internet Explorer(IE) Tools--Internet Options--- Advanced--Security.
    If the setup URL of the ClickOnce application being installed is redirected from a non-secure to a secure site (or vice-versa), the installation would fail due to the Internet Explorer warning. Therefore, please make sure to remove the redirection completely
    and point to the actual setup URL.
    If the issue persists, we could perform Windows Update to install updates and then run the Desktop configuration again.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • Connect Office 365 Exchange Online through Powershell

    I am trying to perform some operations on Exchange online(Office 365) through powershell.
    First I created a new powershell session and exported the modules to local as "o365", so that on any later operation I no need to use Import-PsSession to download the required modules
    $cred = Get-Credential
    $s = New-PSSession -ConfigurationName "Microsoft.Exchange" -ConnectionUri "https://ps.outlook.com/powershell/" -Credential $cred -Authentication Basic -AllowRedirection
    Export-PsSession -session $s -outputModule o365
    Now, I am creating new session and importing the existing module "o365".
    $cred = Get-Credential
    $s = New-PSSession -ConfigurationName "Microsoft.Exchange" -ConnectionUri "https://ps.outlook.com/powershell/" -Credential $cred -Authentication Basic -AllowRedirection
    Import-Module o365
    Get-DistributionGroup
    While running the command "Get-DistributionGroup", powershell prompts me to enter the office 365 credentials once again. Is it possible to avoid entering the credentials once again? I don't want to use Import-PsSession, since it takes more time.

    Hi,
    Not sure, if the following cmdlets can make a difference. Anyway, suggest you to try these:
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
    Import-PSSession $SessionGet-DistributionGroup
    Regards from ExchangeOnline.in|Windows Administrator Area | Skype:[email protected]

  • How to download a file version from office 365 using csom

    I need to download an older file version from office 365 and get the data into a byte array. I have no trouble downloading the latest version with File.OpenBinaryStream() and I have no trouble loading the previous file versions with File.Versions. But now
    I need to actually download an older version of the file and it seems the only way is to use File.OpenBinaryDirect. So I am creating a client context using my oAuth access token and providing the correct path, but I am getting a (401) Unauthorized
    error. Looking with Fiddler I can see that the call to OpenBinaryDirect is somehow trying to post to my file URL and the server is responding with 401.
    context = TokenHelper.GetClientContextWithAccessToken(SPHostUrl, AccessToken);
    FileInformation info = File.OpenBinaryDirect(context, "/" + _fileVersion.Url);  //throws 401
    //leading slash required otherwise ArgumentOutOfRangeException
    I have to be able to access the older file versions with my c# code -- I don't have a viable app without that ability -- any help urgently needed and greatly appreciated!

    Thank you SO much (Can't wait for the next release)!
    For anyone else who lands here, here's the code I ended up using:
    // VersionAccessUser and VersionAccessPassword are stored in web.config
    // web.Url is loaded via the clientContext
    // myVersion is the FileVersion I got from the file's Versions.GetById() method
    // probably a lot of ways to get hostUrl, it just needs to be https://yourdomain.sharepoint.com/
    // - I'm running my app from a subweb
    // I had trouble following the links to get the full MsOnlineClaimsHelper code
    // (the one on msdn.com was missing RequestBodyWriter, WSTrustFeb2005ContractClient,
    // and IWSTrustFeb2005Contract
    // so I've included the code I used here.
    string myVersionFullUrl = string.Format("{0}/{1}", web.Url, myVersion.Url);
    string userName = WebConfigurationManager.AppSettings.Get("VersionAccessUser");
    string strPassword = WebConfigurationManager.AppSettings.Get("VersionAccessPassword");
    string hostUrl = Regex.Replace(web.Url, "([^/]+//[^/]+/).*", "$1");
    MsOnlineClaimsHelper claimsHelper = new MsOnlineClaimsHelper(hostUrl, userName, strPassword);
    var client = new WebClient();
    client.Headers["Accept"] = "/";
    client.Headers.Add(HttpRequestHeader.UserAgent, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    client.Headers.Add(HttpRequestHeader.Cookie, claimsHelper.CookieContainer.GetCookieHeader(new Uri(hostUrl)));
    var document = client.DownloadString(myVersionFullUrl);
    // These classes are needed to download old versions of files (see: http://social.msdn.microsoft.com/Forums/en-US/7746d857-d351-49cc-b2f0-496663239e02/how-to-download-a-file-version-from-office-365-using-csom?forum=sharepointdevelopment)
    // I cobbled this file from http://social.technet.microsoft.com/Forums/msonline/en-US/4e304493-7ddd-4721-8f46-cb7875078f8b/problem-logging-in-to-office-365-sharepoint-online-from-webole-hosted-in-the-cloud?forum=onlineservicessharepoint
    // and http://fredericloud.com/2011/01/11/connecting-to-sharepoint-with-claims-authentication/
    using Microsoft.IdentityModel.Protocols.WSTrust;
    using Microsoft.SharePoint.Client;
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Net;
    using System.Net.Security;
    using System.ServiceModel;
    using System.ServiceModel.Channels;
    using System.Text;
    using System.Web;
    using System.Xml;
    using System.Xml.Linq;
    namespace DPSiDoxAppWeb.Helpers
    /// <summary>
    /// Create a new contract to use for issue claims for the SharePoint requests
    /// </summary>
    [ServiceContract]
    public interface IWSTrustFeb2005Contract
    [OperationContract(ProtectionLevel = ProtectionLevel.EncryptAndSign,
    Action = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue",
    ReplyAction = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue",
    AsyncPattern = true)]
    IAsyncResult BeginIssue(Message request, AsyncCallback callback, object state);
    Message EndIssue(IAsyncResult asyncResult);
    /// <summary>
    /// Implement the client contract for the new type
    /// </summary>
    public class WSTrustFeb2005ContractClient : ClientBase<IWSTrustFeb2005Contract>, IWSTrustFeb2005Contract
    public WSTrustFeb2005ContractClient(Binding binding, EndpointAddress remoteAddress)
    : base(binding, remoteAddress)
    public IAsyncResult BeginIssue(Message request, AsyncCallback callback, object state)
    return Channel.BeginIssue(request, callback, state);
    public Message EndIssue(IAsyncResult asyncResult)
    return Channel.EndIssue(asyncResult);
    /// <summary>
    /// Create a class that will serialize the token into the request
    /// </summary>
    class RequestBodyWriter : BodyWriter
    readonly WSTrustRequestSerializer _serializer;
    readonly RequestSecurityToken _rst;
    /// <summary>
    /// Constructs the Body Writer.
    /// </summary>
    /// <param name="serializer">Serializer to use for serializing the rst.</param>
    /// <param name="rst">The RequestSecurityToken object to be serialized to the outgoing Message.</param>
    public RequestBodyWriter(WSTrustRequestSerializer serializer, RequestSecurityToken rst)
    : base(false)
    if (serializer == null)
    throw new ArgumentNullException("serializer");
    _serializer = serializer;
    _rst = rst;
    /// <summary>
    /// Override of the base class method. Serializes the rst to the outgoing stream.
    /// </summary>
    /// <param name="writer">Writer to which the rst should be written.</param>
    protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
    _serializer.WriteXml(_rst, writer, new WSTrustSerializationContext());
    public class MsOnlineClaimsHelper
    #region Properties
    readonly string _username;
    readonly string _password;
    readonly bool _useRtfa;
    readonly Uri _host;
    CookieContainer _cachedCookieContainer = null;
    DateTime _expires = DateTime.MinValue;
    #endregion
    #region Constructors
    public MsOnlineClaimsHelper(string host, string username, string password)
    : this(new Uri(host), username, password)
    public MsOnlineClaimsHelper(Uri host, string username, string password)
    _host = host;
    _username = username;
    _password = password;
    _useRtfa = true;
    public MsOnlineClaimsHelper(Uri host, string username, string password, bool useRtfa)
    _host = host;
    _username = username;
    _password = password;
    _useRtfa = useRtfa;
    #endregion
    #region Constants
    public const string office365STS = "https://login.microsoftonline.com/extSTS.srf";
    public const string office365Login = "https://login.microsoftonline.com/login.srf";
    public const string office365Metadata = "https://nexus.microsoftonline-p.com/federationmetadata/2007-06/federationmetadata.xml";
    public const string wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
    public const string wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
    private const string userAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
    #endregion
    class MsoCookies
    public string FedAuth { get; set; }
    public string rtFa { get; set; }
    public DateTime Expires { get; set; }
    public Uri Host { get; set; }
    // Method used to add cookies to CSOM
    public void clientContext_ExecutingWebRequest(object sender, WebRequestEventArgs e)
    e.WebRequestExecutor.WebRequest.CookieContainer = getCookieContainer();
    //e.WebRequestExecutor.WebRequest.UserAgent = userAgent;
    // Creates or loads cached cookie container
    CookieContainer getCookieContainer()
    if (_cachedCookieContainer == null || DateTime.Now > _expires)
    // Get the SAML tokens from SPO STS (via MSO STS) using fed auth passive approach
    MsoCookies cookies = getSamlToken();
    if (cookies != null && !string.IsNullOrEmpty(cookies.FedAuth))
    // Create cookie collection with the SAML token
    _expires = cookies.Expires;
    CookieContainer cc = new CookieContainer();
    // Set the FedAuth cookie
    Cookie samlAuth = new Cookie("FedAuth", cookies.FedAuth)
    Expires = cookies.Expires,
    Path = "/",
    Secure = cookies.Host.Scheme == "https",
    HttpOnly = true,
    Domain = cookies.Host.Host
    cc.Add(samlAuth);
    if (_useRtfa)
    // Set the rtFA (sign-out) cookie, added march 2011
    Cookie rtFa = new Cookie("rtFA", cookies.rtFa)
    Expires = cookies.Expires,
    Path = "/",
    Secure = cookies.Host.Scheme == "https",
    HttpOnly = true,
    Domain = cookies.Host.Host
    cc.Add(rtFa);
    _cachedCookieContainer = cc;
    return cc;
    return null;
    return _cachedCookieContainer;
    public CookieContainer CookieContainer
    get
    if (_cachedCookieContainer == null || DateTime.Now > _expires)
    return getCookieContainer();
    return _cachedCookieContainer;
    private MsoCookies getSamlToken()
    MsoCookies ret = new MsoCookies();
    try
    var sharepointSite = new
    Wctx = office365Login,
    Wreply = _host.GetLeftPart(UriPartial.Authority) + "/_forms/default.aspx?wa=wsignin1.0"
    //get token from STS
    string stsResponse = getResponse(office365STS, sharepointSite.Wreply);
    // parse the token response
    XDocument doc = XDocument.Parse(stsResponse);
    // get the security token
    var crypt = from result in doc.Descendants()
    where result.Name == XName.Get("BinarySecurityToken", wsse)
    select result;
    // get the token expiration
    var expires = from result in doc.Descendants()
    where result.Name == XName.Get("Expires", wsu)
    select result;
    ret.Expires = Convert.ToDateTime(expires.First().Value);
    HttpWebRequest request = createRequest(sharepointSite.Wreply);
    byte[] data = Encoding.UTF8.GetBytes(crypt.FirstOrDefault().Value);
    using (Stream stream = request.GetRequestStream())
    stream.Write(data, 0, data.Length);
    stream.Close();
    using (HttpWebResponse webResponse = request.GetResponse() as HttpWebResponse)
    // Handle redirect, added may 2011 for P-subscriptions
    if (webResponse.StatusCode == HttpStatusCode.MovedPermanently)
    HttpWebRequest request2 = createRequest(webResponse.Headers["Location"]);
    using (Stream stream2 = request2.GetRequestStream())
    stream2.Write(data, 0, data.Length);
    stream2.Close();
    using (HttpWebResponse webResponse2 = request2.GetResponse() as HttpWebResponse)
    ret.FedAuth = webResponse2.Cookies["FedAuth"].Value;
    ret.rtFa = webResponse2.Cookies["rtFa"].Value;
    ret.Host = request2.RequestUri;
    else
    ret.FedAuth = webResponse.Cookies["FedAuth"].Value;
    ret.rtFa = webResponse.Cookies["rtFa"].Value;
    ret.Host = request.RequestUri;
    catch (Exception ex)
    return null;
    return ret;
    static HttpWebRequest createRequest(string url)
    HttpWebRequest request = HttpWebRequest.Create(url) as HttpWebRequest;
    request.Method = "POST";
    request.ContentType = "application/x-www-form-urlencoded";
    request.CookieContainer = new CookieContainer();
    request.AllowAutoRedirect = false; // Do NOT automatically redirect
    request.UserAgent = userAgent;
    return request;
    private string getResponse(string stsUrl, string realm)
    RequestSecurityToken rst = new RequestSecurityToken
    RequestType = WSTrustFeb2005Constants.RequestTypes.Issue,
    AppliesTo = new EndpointAddress(realm),
    KeyType = WSTrustFeb2005Constants.KeyTypes.Bearer,
    TokenType = Microsoft.IdentityModel.Tokens.SecurityTokenTypes.Saml11TokenProfile11
    WSTrustFeb2005RequestSerializer trustSerializer = new WSTrustFeb2005RequestSerializer();
    WSHttpBinding binding = new WSHttpBinding();
    binding.Security.Mode = SecurityMode.TransportWithMessageCredential;
    binding.Security.Message.ClientCredentialType = MessageCredentialType.UserName;
    binding.Security.Message.EstablishSecurityContext = false;
    binding.Security.Message.NegotiateServiceCredential = false;
    binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
    EndpointAddress address = new EndpointAddress(stsUrl);
    using (WSTrustFeb2005ContractClient trustClient = new WSTrustFeb2005ContractClient(binding, address))
    trustClient.ClientCredentials.UserName.UserName = _username;
    trustClient.ClientCredentials.UserName.Password = _password;
    Message response = trustClient.EndIssue(
    trustClient.BeginIssue(
    Message.CreateMessage(
    MessageVersion.Default,
    WSTrustFeb2005Constants.Actions.Issue,
    new RequestBodyWriter(trustSerializer, rst)
    null,
    null));
    trustClient.Close();
    using (XmlDictionaryReader reader = response.GetReaderAtBodyContents())
    return reader.ReadOuterXml();

  • Migrating Public Folders on Exchange Server 2007 SP1 to Exchange Online\Office 365

    Hello,
    Our company is looking to migrate from Exchange 2007 on premises to Exchange Online/Office 365. We have a number of public folders on our exchange server that function similarly to how the new shared mailboxes work in Exchange Online. That is to say that
    we have many outside users (customers and wholesale dealers) emailing this public folder ([email protected]) and our end users are given permission to view and respond as themselves ([email protected]). I've been looking all over but haven't found a clean
    way to migrate the current public folders directly into shared mailboxes. I'd just start from scratch, but we want to keep the records of the emails we've received at these public folders for customer support reasons. Can anyone help?

    Hi psh8989,
    According to your description, I know that you want to migrate public folder from Exchange 2007 to Office 365.
    Since Office 365 is different from Exchange On-Premises, I suggest ask Office 365 Forum for help so that you can get more professional suggestions. For your convenience:
    http://community.office365.com/en-us/default.aspx
    However, I can also share some information for your reference : )
    Based on my knowledge, Exchange supports moving your public folders to Office 365 and Exchange Online from Exchange 2007 SP3 RU10 or later. I notice that your Exchange server version is SP1, please upgrade to SP3 RU10 first and perform migration.
    More detailed information to see:
    Migrate legacy public folders to Office 365 and Exchange Online 
    http://technet.microsoft.com/en-us/library/jj983799(v=exchg.150).aspx
    Thanks
    Mavis Huang
    TechNet Community Support

  • Error while Connecting Office 365/SharePoint online

    Hi,
    I'm trying to connect Office 365 from my local and when the execute query runs, it returns an error "For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to
    Parse and pass the settings into XmlReader.Create method." Can anyone pls help ?
                var securePassword = new SecureString();
                foreach (char c in password)
                    securePassword.AppendChar(c);
                var onlineCredentials = new SharePointOnlineCredentials(login, securePassword);
                using (ClientContext clientContext = new ClientContext(targetSite))
                    clientContext.Credentials = onlineCredentials;
                    Web web = clientContext.Web;
                    clientContext.Load(web,
                    webSite => webSite.Title);
                    clientContext.ExecuteQuery();
                    Console.WriteLine(web.Title);
                    Console.Read();
                    return clientContext;
    Thanks
    Rajdeep
    rajdeep

    Hi,
    According to your post, my understanding is that you had an issue to connect to the SharePoint online.
    I had tested with your code, and it worked well as below.
    Did your project contain other code? Such as parse the XML file?
    You can create a new clean project to check with it works.
    More reference:
    http://stackoverflow.com/questions/215854/prevent-dtd-download-when-parsing-xml
    http://stackoverflow.com/questions/13854068/dtd-prohibited-in-xml-document-exception
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • I need help.  I am trying to link my icloud contacts and calender to Microsoft Outlook on Office 365.  I keep recieving iCloud Setup for Outlook Error Report (v4.6.18.0) - Error: 0x80040102: CopyMessages failed.  Help.

    I need help.  I am trying to link my icloud contacts and calender to Microsoft Outlook on Office 365.  I keep recieving iCloud Setup for Outlook Error Report (v4.6.18.0) - Error: 0x80040102: CopyMessages failed.  Help.

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • Exchange 2013 Office 365 Hybrid Cloud On-Premise Outlook Connection Problem

    Hi Everyone,
       We are required to migrate FROM the cloud TO an on-premise Exchange 2013 server.  We set up a trial of Office365 and linked our test domain to that account.  The test domain mimics our current domain, but ends in .net instead of .org.
     We set up a test Exchange 2013 server with a few database servers.  Internally, we can connect without issue (Outlook).  We mapped our test CAS to face the Internet, and can access what we need without issue.  We also set up the Hybrid
    configuration on both the Exchange 2013 and Office365 servers.  We have validated that DirSync works, and migration can occur up to the cloud and back down to the on-premise server.
    Now, here is the issue:
    We have our DNS records still pointing to Office365, so when we add an Office365 mailbox to Outlook (internal to the network or outside the network) we see absolutely no issues.  We migrated a mailbox today to our on-premise server, but upon doing so,
    can no longer connect to, or add, that mailbox to Outlook.  When we put this integration in to effect for production, we want to be able to migrate mailboxes on-premise from the cloud, and we want to make sure users can still access their mailboxes.  This
    also goes for distribution groups, conference rooms, etc.
    I see that most suggestions say to change your DNS record to point to the on-premise Exchange server, which is great, but after doing so Office365 accounts experience the same issue as above.  We NEED to make sure that when we batch migrate, the users
    DO NOT lose connectivity to their accounts.  We need both Office365 accounts and Exchange on-premise accounts are accessible internally and externally.  As an extra tid-bit, we HAVE configured Outlook Anywhere on Exchange 2013, but see no difference.
    Any thoughts on this?  Office365 and Exchange 2013 see eachother and recognize that the hybrid environment is set up good, but it appears we are missing some configurations.  Currently, we have a CNAME record points our autodiscover to autodiscover.outlook.com.
    Any help would be MUCH appreciated.  Thanks!
    Dan

    Hi,
    Here is an article on Move mailboxes between on-premises and Exchange Online organizations in 2013 hybrid deployments, for your reference:
    http://technet.microsoft.com/en-us/library/jj906432(v=exchg.150).aspx
    I want to make sure OWA works well with the moved mailbox.
    To use CNAME based autodiscover method, we need to have all domain names present in a SAN certificate.
    With Exchange 2013 CU1, we now have the option of adding multiple SMTP domains to Exchange Federation/Hybrid configuration and we can specify which of these domains should act the "autodiscover" domain.
    To configure an SMTP domain as the autodiscover domain, you can run following command:
    Set-HybridConfiguration -Domains "domain1.com, domain2.com, domain3.com", "autod:domain.com"
    More details, please refer following blogs:
    http://www.msexchange.org/articles-tutorials/office-365/exchange-online/configuring-exchange-2013-hybrid-deployment-and-migrating-office-365-exchange-online-part11.html
    http://www.msexchange.org/articles-tutorials/office-365/exchange-online/configuring-exchange-2013-hybrid-deployment-and-migrating-office-365-exchange-online-part12.html
    Disclaimer:
    Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure
    that you completely understand the risk before retrieving any suggestions from the above links.
    Thanks
    Mavis Huang
    TechNet Community Support

  • How to Create a Microsoft Exchange Active Sync Account

    Okay people:  This is what I was given, "How toCreate a Microsoft Exchange Active Sync Account"  in a recent post in regarding to eliminate the "Invalid Email Account" notice box which appears every other day, after I deleted and added the email account.   
    I still have one email account functioning which is fine, but still, I'd like to have both of my accounts working.  Anyhow, I found the webpage for this creating a Microsoft Exchange Active Sync Account. Setting up an Exchange email account on BlackBerry PlayBook OS 2.0 | BrightPoint GB Blog 
    I need help here.  I have no idea what "Domain Field" indicates, and what is the IT Department?  Would that be my server for my private WiFi connection?   I need a more specific instructions.  Plus the Server Address, what would that be?   
    Signed:  Confused and Bewildered. 
    Solved!
    Go to Solution.

    in options goto accounts
    choose acount type  Email, Calendar, contacts
    tap on advanced on bottom
    choose Email, Calendar, contacts
    Set the Incoming Mail Server to m.gmail.com
    Leave Domain blank
    Set your username to your full email address
    set password and continue
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • How to establish a MYSQL Database connection in JSP page.

    Hi People,
    Tell me how to establish mysql database connection in JSP page.
    Needed details on:
    1) what are all the mysql drivers need to be included.
    2) what is the syntax for establish a database connection

    hi,
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.htmlsee down for mysql config with tomcat

  • How to establish this kind of connection string

    I am using the model: Multiple Embedded Application Clients Accessing Remote Database. There is a database named ServerDB, a DSN named ServerDSN and a muti-user service on the server machine. Plus, there is a DSN named ClientDSN which will route to server machine on the client machine. Then how to establish the connection string for a client application under this condition in C# language? Thanks. It seems that the following connection model in the document doesn't work: OracleConnection conn = new OracleConnection
    ("DataDirectory=\\orace;Database=polite;DSN=*;uid=system;pwd=manager"); I don't know how to fill those parameters.
    I also tried this: conn = new OracleConnection("DSN=ClientDSN;UID=System;PWD=Manager"); But still failed.
    Thanks very much if someone can help me. Urgent problem.
    Message was edited by:
    user474792

    You can read section 1.4.3 in dev.pdf of Oracle Lite for more detail. There is a model like above.
    There is no main database like Oracle server. And there is only one odb file for all the clients. On every client machine, there is a DSN which include the information about server machine.
    I think you'd better read the document first, thanks.
    Hope you can continue to discuss with me, ^_^

  • How do I deactivate Microsoft Exchange in iTunes?

    I just switched emails. My old email was an exchange email, my new one is not. However, the settings to sync my calendars and contacts over the air are still holding in iTunes. This means that each time I sync, iTunes erases all of my calendar and contacts from Outlook and the iPhone because the Exchange account no longer exists. I can't find any way to remove this. In the Calendar and Contacts section on the info tab in iTunes, the following message appears at the bottom. I need to know how to remove this setting so I can sync my iPhone again. Help!!!
    "Your calendars are being synced with Microsoft Exchange over the air."
    "Your contacts are being synced with Microsoft Exchange over the air."
    I have updated my email address by logging into the store. I have also tried uninstalling and reinstalling iTunes.

    He's on 4.0. iTunes is 9.2.1.
    I have turned off Calendars however Contacts isn't an option in any of his three mail accounts. The part I don't understand, is that none of the mail accounts on his iPhone are Exchange. However, I have made sure that Calendar is off in all of them. I am going to back up all of his calendars/contacts from his Outlook and just sync and see what happens. He is in a meeting right now, but I will do this as soon as he is free. If you think of anything else in the meantime, or if you think I shouldn't sync, please let me know! Thank you again for your help! It feels like I'm getting closer...

  • Latest apple software update on Mac --cant view Microsoft exchange connected email on macbook pro. Loads but not viewable.  Works fine on iPhone

    Updated the lastest apple software to my macbook pro and now I can no longer read my emails from my microsoft exchange email.  The email arrives in my inbox and you can open it -- but when you try and read the content -- it says loading.....  but never loads.  It worked fine this weekend -- but after I udpate the last apple software update it stopped working.  I can read the emails fine on my iphone (same email account) but not on my macbook pro.
    I called Apple and they could not figure out a solution to the problem -- is anyone else having this trouble?

    Concisely:
    https://discussions.apple.com/community/iphone
    https://discussions.apple.com/community/ipad
    Try posting there.

  • Exchange 2013 (Office 365) shared mailbox not staying up to date.

    We have created a new shared folder for multiple users to access in Office 365 and were having some issues. There are a few users where this mailbox works great, but others users aren't able to see any changes that are made in the shared mailbox.
    Opening the mailbox in O365 shows all folders, emails, etc... but for some reason syncing stops working randomly after a bit of time. Removing and re-adding permissions to the mailbox does fix this issue, but that's not a feasable fix for us.
    Users can add folders to the shared mailbox, and those added folders do show up in the mailbox when opened in O365, but the changes do not push down to multiple other clients. 
    Anyone else seen this or have any info? Thanks!

    Hi,
    Are the users using Cached Exchange Mode or Online Mode? When the issue comes next time, have the user switch to the other mode and test if this helps.
    We can disable Cached Mode for Shared folders, check if this helps resolve the sync issue:
    Go to FILE -> Account Settings -> Account Settings -> Double click on the Exchange account -> More Settings -> Advanced tab -> Uncheck "Use Cached Exchange Mode", and click Apply then OK.
    In Cached Mode, it doesn't connect to Exchange Server all the time but keeps a cache of the mailbox locally to sync the local cache and mailbox according to a period, this may cause some items not sync immediately. By switching to Online Mode, it should
    be immediate.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for