Migrating Exchange 2013 to Office 365 Transient Error

So I setup an Exchange Hybrid Environment in an attempt to migrate mailboxes to Office 365. I'm performing my first test migration and so far it's running, very slow but it's running. I keep seeing this error in the migration job and I'm guessing it's slowing
me down. I'm hoping someone can point me in the right direction as to what's causing this.
1/10/2015 2:28:37 AM [BN1PR05MB357] Transient error DataExportTransientException has occurred. The system will retry (1/60).
1/10/2015 2:29:55 AM [BN1PR05MB357] The Microsoft Exchange Mailbox Replication service 'BN1PR05MB357.namprd05.prod.outlook.com' (15.1.53.16 caps:1FFF) is examining the request.
1/10/2015 2:29:55 AM [BN1PR05MB357] Connected to target mailbox 'client.onmicrosoft.com\b00fdbce-03e6-4d85-ad21-28a8c60055c5 (Primary)', database 'NAMPR05DG023-db142', Mailbox server 'BN1PR05MB357.namprd05.prod.outlook.com' Version 15.1 (Build 53.0).
1/10/2015 2:29:56 AM [BN1PR05MB357] Connected to source mailbox 'client.onmicrosoft.com\b00fdbce-03e6-4d85-ad21-28a8c60055c5 (Primary)', database 'Mailbox Database', Mailbox server 'EX13.client.local' Version 15.0 (Build 995.0), proxy server 'EX13.client.local'
15.0.995.28 caps:017FFFFFCB07FFFF.
1/10/2015 2:29:58 AM [BN1PR05MB357] Request processing continued, stage LoadingMessages.
Vincent Sprague

Do you have any firewall appliance or TMG between Exchange Onpremises and Online? I've seen this issue multiple times with TMG.
http://technet.microsoft.com/en-us/library/dd441028.aspx, with other firewall appliances look for the same kind of configuration.
Also be sure you have enough resources (cores and memory) available.

Similar Messages

  • Migrate Exchange 2003 to Office 365

    Dear all,
    We are going to migrate Exchange 2003 to Office 365. Because of the large number of mailboxes and mail databases, we decide to build hybrid to support coexistence during the migration period.
    According to "Exchange Server Deployment Assistant" I found that we can build more Exchange 2010 for that requirement
    http://technet.microsoft.com/en-us/exdeploy2013/Checklist?state=2419-W-BwAIAAAAQAAAAAEAiFIAAAA~
    I just wonder that after deploying the Exchange 2010, can we move directly the mailboxes from Exchange 2003 to Office 365 or we need to move to Exchange 2010 first (as a "buffer") before moving to Office 365
    Thanks a lot !!!

    Hello,
    The main goal of a staged migration is to migrate Exchange on-premises servers when:
    1. You have more than 2000 mailboxes.
    2. You plan to migrate over a few weeks and months rather than in a single batch.
    3. You want to migrate to the Cloud completely and remove your on-premises Exchange deployment.
    Hybrid scenarios are useful when you do not want to remove your on-premises deployment. In some cases there is no technical possibility, it is not cost-effective etc. to move a whole organization to Office 365. In these situations you may decide that moving
    only some mailboxes to Office 365 is a good option and create a hybrid deployment.
    You need to consider all pros and cons, especially when Exchange 2003 has gone out of support lifecycle and then choose the better option for your organization.
    Hope it helps,
    Adam
    CodeTwo: Software solutions for Exchange and Office 365
    If this post helps resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.

  • Migrate Sharepoint 2013 from office 365 to on premise

    The company management decide to move SharePoint 2013 from Office 365 to on premise. Are there any instructions or step to achieve this, or any recommended third party tools? Thanks
    Yee

    i think your best bet is 3rd party tool, their are alot of 3rd parties which support this migration. check the below post.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/d348f3a0-345f-4085-b72f-f51a31659485/migrate-from-sharepoint-online-to-on-premise-in-2013?forum=sharepointgeneral
    check this blog as well:
    http://blog.hametbenoit.info/Lists/Posts/Post.aspx?ID=369
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Certificate configuring for exchange 2013 and office 365 hybrid deployment

    Please advise on what digital certificate requirements for hybrid deployment and to configure it.

    Hi sphilip,
    If you want to deploy AD FS with Single Sign-On(SSO), we need use certificate to establish secure trust between on-premises Exchange 2013 and Office online.
    We can use and configure a trusted third-part CA within all on-premises Exchange 2013 Mailbox and Client Access servers to ensure secure mail transport, more details about
    Office 365 Hybrid Configuration Certificate Planning, for your reference:
    http://blogs.technet.com/b/neiljohn/archive/2011/08/25/office-365-hybrid-configuration-certificate-planning-adfs-exchange-web-services-owa-oa.aspx
    Best Regards,
    Allen Wang

  • Migrate exchange 2003 to office 365 with single singon

    Dear All,
    We are going to migrate our mail systems from exchange server 2003 to office 365 with single sing-on.
    Please advice me the best way and guide line (information) to do it smoothly.
    Thanks in advance.

    Dear Andres parnova,
    Thanks for your information.
    I found series of articles in msexchange.org
    http://www.msexchange.org/articles-tutorials/office-365/exchange-online/performing-staged-exchange-migration-office-365-exchange-online-part1.html which has very nice and clear information.
    But, in the articles the author did not include ADFS configuration and steps.
    I would like to know how to configure ADFS and single sing-on.
    Thanks
    Min

  • Affects when migrating from Office 2013 to Office 365

    I currently have office 2013, with two email addresses being used in Outlook.  I need to download Office 365 which I have already purchased.   Will this have any affect on my two Outlook email addresses, and all the emails that are there?

    Hi,
    The activation and licensing are different between the Office 2013 and Office 365. We can't just
    switch activated Office 2013 to Office 365. We can only uninstall Office 2013 and then install Office 365. In theory, we won't lose any emails in the email accounts configured in Office 2013. Just in case, we can back up your Outlook data files
    of the two email accounts and then conduct the migration. To back up the data files, please refer:
    http://support.microsoft.com/kb/287070/en-us
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • Can I migrate users from a hosted Exchange 2010 to Office 365 Enterprise E1 without the need of third party software?

    I am hoping I am posting to the correct forum.  We are currently using a hosted Exchange 2010 service through Intermedia and due to continuing issues with them and the pricing, we are getting ready to migrate to Microsoft’s Office 365 Enterprise
    E1 platform.  My question is this, besides the fact that we will need to set up ADFS for SSO, will I be able to migrate our existing mailboxes from Intermedia to Office 365 without having to purchase additional software? 
    The current configuration we have with Intermedia allows for us to use OWA and our OST files for our current users are cached locally on the workstations. 
    We also do not have any public folders in use.  I have searched the web, but I have not been able to find a definitive answer or steps that I should take to prepare for this type of migration. 
    Any suggestions on this matter would be appreciated.  Thank you.

    It looks as I should be able to from reading that article.  Not sure why the company that want to set this all up for me wanted $12,000 for something I can do with 6 steps.
    Thank you

  • Exchange 2010 to office 365 migration lab

    I am looking out for free migration lab if any available online from Microsoft or any vendor related to migrate from exchange 2010 to office 365 . Please suggest ? 
    Aditya Mediratta

    Hi,
    Unfortunately, there’s no related lab for use.
    We can Microsoft Exchange Server Deployment Assistant to generates a custom step-by-step checklist that will help you deploy different versions of Exchange Server for different types of scenarios. For your reference:
    https://technet.microsoft.com/en-us/office/dn756393.aspx
    Thanks
    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]
    Allen Wang
    TechNet Community Support

  • Decommissioning Exchange 2003 after Office 365 Migration

    Hello,
    My company recently migrated from Exchange 2003 to Office 365 and are working on decommissioning our on-premises Exchange 2003 server.  We believe everything is ready to go, however this Microsoft article: http://help.outlook.com/en-us/140/ff959224.aspx#nextsteps has
    a big Caution box warning of "unintended consequences" and recommending I contact Microsoft Support:
    I've tried my Office 365 support options, but they only tell me that Exchange 2003 is no longer supported and they can't help me, despite the fact that I'm trying to remove it, not maintain it.  So
    I'm allowed to pay for a new service, but shouldn't expect assistance in safely moving from my old service...
    Regardless, they directed me here, so I was hoping someone might be able to advise about what these "unintended consequences" actually are so I can feel fully prepared to decommission.
    Thanks in Advance,
    Jim

    Hi,
    After you’ve verified that all e-mail is being routed directly to the cloud-based mailboxes, completed the migration, and no longer need to maintain your on-premises e-mail organization or don’t plan on implementing a single sign-on solution, you can uninstall
    Exchange from your servers and remove your on-premises Exchange organization. For more information, see the following:
    How to Uninstall Exchange Server 2003
    http://technet.microsoft.com/en-us/library/bb125110(EXCHG.65).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Exchange 2007 to Office 365.

    Hello,
    We're upgrading our Exchange 2007 to Office 365.  We can't store a small portion of our emails in office 365 (cloud) due to contract obligations that says storing data outside of the UK is not allowed.  
    I can see there is a way to create a pst on a network location to store this small portion of data but when my pc is away from the office network, i receive an error saying it can't find the PST.  Is there a way to stop the error appearing? I only want the pst folder to appear if they are on the office network? Or do you have a different solution i mind to solve our problem? 
    Thanks 
    This topic first appeared in the Spiceworks Community

    Hi
    http://blogs.technet.com/b/canitpro/archive/2013/11/20/step-by-step-migrating-from-exchange-2007-to-office-365.aspx
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Seemingly successful install of Exchange 2013 SP1 turns into many errors in event logs after upgrade to CU7

    I have a new Exchange 2013 server with plans to migrate from my current Exchange 2007 Server. 
    I installed Exchange 2013 SP1 and the only errors I saw in the event log seemed to be long standing known issues that did not indicate an actual problem (based on what I read online). 
    I updated to CU7 and now lots of errors have appeared (although the old ones seem to have been fixed so I have that going for me). 
    Currently the Exchange 2013 server is not in use and clients are still hitting the 2007 server.
    Issue 1)
    After each reboot I get a Kernel-EventTracing 2 error.  I cannot find anything on this on the internet so I have no idea what it is.
    Session "FastDocTracingSession" failed to start with the following error: 0xC0000035
    I did read other accounts of this error with a different name in the quotes but still can’t tell what this is or where it is coming from.
    Issue 2)
    I am still getting 5 MSExchange Common 106 errors even after reregistering all of the perf counters per this page:
    https://support.microsoft.com/kb/2870416?wa=wsignin1.0
    One of the perf counters fails to register using the script from the link above.
    66 C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\InfoWorkerMultiMailboxSearchPerformanceCounters.xml
    New-PerfCounters : The performance counter definition file is invalid.
    At C:\Users\administrator.<my domain>\Downloads\script\ReloadPerfCounters.ps1:19 char:4
    +    New-PerfCounters -DefinitionFileName $f
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo         
    : InvalidData: (:) [New-PerfCounters], TaskException
        + FullyQualifiedErrorId : [Server=VALIS,RequestId=71b6bcde-d73e-4c14-9a32-03f06e3b2607,TimeStamp=12/18/2014 10:09:
       12 PM] [FailureCategory=Cmdlet-TaskException] 33EBD286,Microsoft.Exchange.Management.Tasks.NewPerfCounters
    But that one seems unrelated to the ones that still throw errors. 
    Three of the remaining five errors are (the forum is removing my spacing between the error text so it looks like a wall of text - sorry):
    Performance counter updating error. Counter name is Count Matched LowFidelity FingerPrint, but missed HighFidelity FingerPrint, category name is MSExchange Anti-Malware Datacenter Perfcounters. Optional code: 3. Exception: The
    exception thrown is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
       at System.Diagnostics.PerformanceCounter.InitializeImpl()
       at System.Diagnostics.PerformanceCounter.set_RawValue(Int64 value)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.set_RawValue(Int64 value)
    Last worker process info : System.ArgumentException: Process with an Id of 7384 is not running.
       at System.Diagnostics.Process.GetProcessById(Int32 processId)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
    Performance counter updating error. Counter name is Number of items, item is matched with finger printing cache, category name is MSExchange Anti-Malware Datacenter Perfcounters. Optional code: 3. Exception: The exception thrown
    is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
       at System.Diagnostics.PerformanceCounter.InitializeImpl()
       at System.Diagnostics.PerformanceCounter.set_RawValue(Int64 value)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.set_RawValue(Int64 value)
    Last worker process info : System.ArgumentException: Process with an Id of 7384 is not running.
       at System.Diagnostics.Process.GetProcessById(Int32 processId)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
    Performance counter updating error. Counter name is Number of items in Malware Fingerprint cache, category name is MSExchange Anti-Malware Datacenter Perfcounters. Optional code: 3. Exception: The exception thrown is : System.InvalidOperationException:
    The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
       at System.Diagnostics.PerformanceCounter.InitializeImpl()
       at System.Diagnostics.PerformanceCounter.set_RawValue(Int64 value)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.set_RawValue(Int64 value)
    Last worker process info : System.ArgumentException: Process with an Id of 7384 is not running.
       at System.Diagnostics.Process.GetProcessById(Int32 processId)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
    Issue 3)
    I appear to have some issues related to the healthmailboxes. 
    I get MSExchangeTransport 1025 errors for multiple healthmailboxes.
    SMTP rejected a (P1) mail from 'HealthMailbox23b10b91745648819139ee691dc97eb6@<my domain>.local' with 'Client Proxy <my server>' connector and the user authenticated as 'HealthMailbox23b10b91745648819139ee691dc97eb6'. The Active Directory
    lookup for the sender address returned validation errors. Microsoft.Exchange.Data.ProviderError
    I reran setup /prepareAD to try and remedy this but I am still getting some.
    Issue 4)
    I am getting an MSExchange RBAC 74 error. 
    (Process w3wp.exe, PID 984) Connection leak detected for key <my domain>.local/Admins/Administrator in Microsoft.Exchange.Configuration.Authorization.WSManBudgetManager class. Leaked Value 1.
    Issue 5)
    I am getting MSExchange Assistants 9042 warnings on both databases.
    Service MSExchangeMailboxAssistants. Probe Time Based Assistant for database Database02 (c83dbd91-7cc4-4412-912e-1b87ca6eb0ab) is exiting a work cycle. No mailboxes were successfully processed. 2 mailboxes were skipped due to errors. 0 mailboxes were
    skipped due to failure to open a store session. 0 mailboxes were retried. There are 0 mailboxes in this database remaining to be processed.
    Some research suggested this may be related to deleted mailboxes however I have never had any actual user mailboxes on this server. 
    If they are healthmailboxes or arbitration mailboxes that might make sense but I am unsure of what to do on this.
    Issue 6)
    At boot I am getting an MSExchange ActiveSync warning 1033
    The setting SupportedIPMTypes in the Web.Config file was missing. 
    Using default value of System.Collections.Generic.List`1[System.String].
    I don't know why but this forum is removing some of my spacing that would make parts of this easier to read.

    Hi Eric
    Yes I have uninstalled and reinstalled Exchange 2013 CU7 for the 3<sup>rd</sup> time. 
    I realize you said one issue per forum thread but since I already started this thread with many issues I will at least post what I have discovered on them in case someone finds their way here from a web search.
    I have an existing Exchange 2007 server in the environment so I am unable to create email address policies that are defined by “recipient container”. 
    If I try and do so I get “You can't specify the recipient container because legacy servers are detected.”
     So I cannot create a normal email address policy and restrict it to an OU without resorting to some fancy filtering. 
    Instead what I have done is use PS to modify extensionAttribute1 (otherwise known as Custom Attribute 1 to exchange) for all of my users. 
    I then applied an address policy to them and gave it the highest priority. 
    Then I set a default email address policy for the entire organization. 
    After reinstalling Exchange all of my system mailboxes were created with the internal domain name. 
    So issue number 3 above has not come up. 
    For issue number one above I have created a new thread:
    https://social.technet.microsoft.com/Forums/office/en-US/7eb12b89-ae9b-46b2-bd34-e50cd52a4c15/microsoftwindowskerneleventtracing-error-2-happens-twice-at-boot-ex2013cu7?forum=exchangesvrdeploy
    For issue number four I have posted to this existing thread where there is so far no resolution:
    https://social.technet.microsoft.com/Forums/exchange/en-US/2343730c-7303-4067-ae1a-b106cffc3583/exchange-error-id-74-connection-leak-detected-for-key?forum=exchangesvradmin
    Issue number Five I have managed to recreate and get rid of in more than one way. 
    If I create a new database in ECP and set the database and log paths where I want, then this error will appear. 
    If I create the database in the default location and then use EMS to move it and set the log path, then the error will not appear. 
    The error will also appear (along with other errors) if I delete the health mailboxes and let them get recreated by restarting the server or the Health Manager service. 
    If I then go and set the retention period for deleted mailboxes to 0 days and wait a little while, these will all go away. 
    So my off hand guess is that these are caused by orphaned system mailboxes.
    For issue number six I have posted to this existing thread where there is so far no resolution:
    https://social.technet.microsoft.com/Forums/exchange/en-US/dff62411-fad8-4d0c-9bdb-037374644845/event-1033-msexchangeactivesync-warning?forum=exchangesvrmobility
    So for the remainder of this thread we can try and tackle issue number two which is the perf counters. 
    The exact same 5 perf counter were coming up and this had been true each time I have uninstalled and reinstalled Exchange 2013CU7. 
    Actually to be more accurate a LOT of perf counter errors come up after the initial install, but reloading the perf counters using the script I posted above reduces it to the same five. 
    Using all of your suggestions so far has not removed these 5 remaining errors either.  Since there is no discernible impact other than these errors at boot I am not seriously bothered by them but as will all event log errors, I would prefer
    to make them go away if possible.

  • Wbs modeler won't load visio 2013 pro/office 365

    Hi,
    I've installed WBS Modeler add-in onto my Win 7/Visio 2013 Pro/Office 365 laptop, but the Modeler won't load.  When I start Visio and check the addins, the WBS Modeler shows up as an Inactive Application Add-In.  When I check the COM add-ins, the
    add-in shows up in the list, however the Load Behavior is: "Not loaded. A runtime error occurred during the loading of the COM Add-in.".  The location looks messed up too. It is: "C:Program Files (x86)\Visio Add-In for WBS Modeler\\WBSModeler.vsto|vstolocal".
     I've uninstalled/reinstalled/repaired several times -- all with the same behavior.
    Thanks in advance for any suggestions.
    Kevin McManus

    Hi,
    There is a similar issue, it says that we can use the 32-bit WBS modeler to run on PC. I faced the same issue using the 64 bit install, but the 32 bit version works well on 64 bit Visio
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-visio/does-visio-2013-have-a-wbs-modeler-add-in/bfa5a396-ad7d-4156-a2d4-c547002670d6
    I reproduce on my PC, the 32-bit WBS modeler works normally on 64-bit Visio.
    If there is anything I can do for you regarding this issue, feel free to post back.
    Best regards,
    Greta Ge
    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.

  • How to migrate Outlook configuration to Office 365

    As we plan our migration to Office365/Exchange Online, I am getting asked questions about the user Outlook profiles. We have users that make extensive use of categories, folder views, rules, etc. In addition, we have a custom Outlook toolbar that is part
    of our default image. Can anyone tell me if these items get migrated using the standard Office 365 migration wizard? If they don't is there a way to migrate or export/import this information?
    Thanks!
    Joe

    Hi,
    According to your description, I want know the configuration of Outlook after migrate Exchange 2010 to Exchange Online.
    If I misunderstand your concern, please do not hesitate to let me know.
    Mailbox database will be moved to Office 365, also the mailbox content. The Outlook client can use SCP and DNS record get autodiscover service, then connect to Exchange server and auto-configure Outlook profile. However, dumpster content and old message
    missing after migrate to Office 365, please refer to below link and work it out:
    https://support.microsoft.com/en-us/kb/2603594?wa=wsignin1.0
    For POP3 and IMAP account, and they may not remain the copy in Exchange server, we need to import .pst file to Exchange server. For your reference:
    https://technet.microsoft.com/en-us/library/hh781035%28v=exchg.141%29.aspx?f=255&MSPPError=-2147217396
    As client side, we can just move .pst file to new computer, then import to Outlook:
    https://support.office.com/en-ca/article/Import-Outlook-items-from-an-Outlook-Data-File-pst-431a8e9a-f99f-4d5f-ae48-ded54b3440ac
    Thanks
    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]
    Allen Wang
    TechNet Community Support

  • Office 365 API, error: The token has invalid value 'roles' for the claim type ''

    Hi guys,
    I am trying to develop a Daemon / Server application using the new Office 365 APIs. I have added a new application to Azure Active Directory. I am using cURL + the app ID and secret to get a JWT token, this is the exact request:
    curl -X POST https://login.windows.net/TENANT_KEY/oauth2/token \
    -F redirect_uri=http://spreadyDaemon \
    -F grant_type=client_credentials \
    -F resource=https://outlook.office365.com/ \
    -F client_id=XXXX \
    -F client_secret=XXXX=
     I get back a JWT however it has no scopes for access set here is the decoded JWT claims:
    "ver": "1.0",
    "aud": "https://outlook.office365.com/",
    "iss": "https://sts.windows.net/TENANT_KEY/",
    "oid": "17fa33ae-a0e9-4292-96ea-24ce8f11df21",
    "idp": "https://sts.windows.net/TENANT_KEY/",
    "appidacr": "1",
    "exp": 1415986833,
    "appid": "XXXX",
    "tid": "e625eb3f-ef77-4c02-8010-c591d78b6c5f",
    "iat": 1415982933,
    "nbf": 1415982933,
    "sub": "17fa33ae-a0e9-4292-96ea-24ce8f11df21"
    Therefore when I do a request to the exchange API endpoint I get the following response:
    HTTP/1.1 401 Unauthorized
    Cache-Control: private
    Server: Microsoft-IIS/8.0
    request-id: d08d01a8-7213-4a13-a598-08362b4dfa70
    Set-Cookie: ClientId=WDALDNO0CAIOOZDZWTA; expires=Sat, 14-Nov-2015 16:40:59 GMT; path=/; HttpOnly
    X-CalculatedBETarget: am3pr01mb0662.eurprd01.prod.exchangelabs.com
    x-ms-diagnostics: 2000001;reason="The token has invalid value 'roles' for the claim type ''.";error_category="invalid_token"
    X-DiagInfo: AM3PR01MB0662
    X-BEServer: AM3PR01MB0662
    X-AspNet-Version: 4.0.30319
    Set-Cookie: exchangecookie=6bf68da033684824af21af3b0cdea6e3; expires=Sat, 14-Nov-2015 16:40:59 GMT; path=/; HttpOnly
    Set-Cookie: [email protected]=[email protected]4Wbno2ajNGQkZKWnI2QjJCZi9GckJKBzc/Oy9LOzdLOy6vOycXLz8XKxoGaio2PjZvPztGPjZCb0ZqHnJeekZiak56djNGckJI=; expires=Sun, 14-Dec-2014 16:40:59 GMT; path=/EWS; secure; HttpOnly
    Set-Cookie: [email protected]=[email protected]4Wbno2ajNGQkZKWnI2QjJCZi9GckJKBzc/Oy9LOzdLOy6vOycXLz8XKxg==; expires=Sun, 14-Dec-2014 16:40:59 GMT; path=/EWS; secure; HttpOnly
    X-Powered-By: ASP.NET
    X-FEServer: DB4PR02CA0026
    WWW-Authenticate: Bearer client_id="00000002-0000-0ff1-ce00-000000000000", trusted_issuers="00000001-0000-0000-c000-000000000000@*", authorization_uri="https://login.windows.net/common/oauth2/authorize", error="invalid_token",Basic Realm="",Basic Realm=""
    Date: Fri, 14 Nov 2014 16:40:59 GMT
    Content-Length: 0
    I have asked a stack overflow question here: http://stackoverflow.com/questions/26950838/office-365-api-error-the-token-has-invalid-value-roles-for-the-claim-type
    Any help on the matter will be hugely appreciated, thanks!

    Hi Manu,
    To wrap this thread up; I have had an answer on stack overflow.
    It appears that currently the grant type client_credentials is not supported, according to a comment on this blog post by Matthias' http://blogs.msdn.com/b/exchangedev/archive/2014/03/25/using-oauth2-to-access-calendar-contact-and-mail-api-in-exchange-online-in-office-365.aspx 
    "There is no way in the code flow to avoid username/password. We're working on a client credential flow for later this fall that will give you the functionality required to run background services. For this you will not need a username/password,
    but the application will directly assert its identity and authenticate as itself."
    Unfortunately I require client_credentials for a daemon process, Q4 is the scheduled release for support for this grant time.
    Thanks for the help,
    Nick

  • How to use Powershell to set delegate for user mailbox in Exchange 2010 and Office 365

    Hello,
    Can you please tell me if I can set delegate for user mailbox in Exchange 2010 or Office 365 using Powershell?
    If I can, then how can I do that? (which Powershell commands for setting the delegate?)
    Many thanks, and have a good day!

    Hi,
    If you wanted to add a delegate to possiblly a large number of users or you do this during mailbox provisioning. So the following script will use
    impersonation to access another users mailbox and add a delegate.
    $mbtoDelegate = "[email protected]"
    $delegatetoAdd = "[email protected]"
    $dllpath = "C:\Program Files\Microsoft\Exchange\Web Services\1.0\Microsoft.Exchange.WebServices.dll"
    [void][Reflection.Assembly]::LoadFile($dllpath)
    $service = new-object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2007_SP1)
    $windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
    $sidbind = "LDAP://<SID=" + $windowsIdentity.user.Value.ToString() + ">"
    $aceuser = [ADSI]$sidbind
    $service.AutodiscoverUrl($aceuser.mail.ToString())
    $service.ImpersonatedUserId = new-object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId([Microsoft.Exchange.WebServices.Data.ConnectingIdType]::SmtpAddress,
    $mbtoDelegate);
    $mbMailbox = new-object Microsoft.Exchange.WebServices.Data.Mailbox($mbtoDelegate)
    $dgUser = new-object Microsoft.Exchange.WebServices.Data.DelegateUser($delegatetoAdd)
    $dgUser.ViewPrivateItems = $false
    $dgUser.ReceiveCopiesOfMeetingMessages = $false
    $dgUser.Permissions.CalendarFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Editor
    $dgUser.Permissions.InboxFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Reviewer
    $dgArray = new-object Microsoft.Exchange.WebServices.Data.DelegateUser[] 1
    $dgArray[0] = $dgUser
    $service.AddDelegates($mbMailbox, [Microsoft.Exchange.WebServices.Data.MeetingRequestsDeliveryScope]::DelegatesAndMe, $dgArray);
    Hope this helps.

Maybe you are looking for

  • JDBC - MySql

    Please find my code below and the error i get. public class LoginDao { /** Creates a new instance of LoginDao */ public LoginDao() { } public boolean authUser(Object obj) throws NamingException, SQLException{ DataSource ds = getMyDatabase(); Connecti

  • I photo wont open fully

    I open my 10.6.8 version of iphoto and it opens as far as showing a blank template of its operating window and the bar at the top but with the loading rotating circular curser so i can access any drop down menus in the bar

  • How to create a client jar file???

    How do I create a client jar file for the client program? Please see my attached ejb-jar.xml. I compiled the my EJB and deployed it successfully. However, I couldn't find the client jar anywhere. I use the weblogic admin console DD editor, I can see

  • Itunes and my mac are not reckognizing cd's

    I'm trying to download a cd on my Imac and the cd sits for 30 seconds and then ejects.  Any thoughts?

  • Flash stops working after 10 - 15 minutes.

    Hi Everyone, I've been having some weird problems with my new laptop and flash. I am currently running Windows 7 Pro. 32-bit, IE 8, AVG antivirus (with resident shield disabled), Windows Defender. I start my computer and go into IE and everything see