Search Engine: Elastic

Article ID: 129653, created on Oct 23, 2016, last review on Mar 23, 2017

  • Applies to:
  • Operations Automation 7.0
  • Operations Automation 6.0


Provisioning of new Office 365 CSP Tenant fails with the error:

2016-07-08 10:21:27,664 [   8] ERROR aps_endpoint: TenantsController.Post finished by exception Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.
2016-07-08 10:21:27,679 [   8] ERROR aps_endpoint: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
500 (Internal Server Error)


Incorrect reseller credentials in Office 365 application instance settings.


Check with Microsoft that all the CSP credentials are valid and not expired.

Go to Microsoft portal and check if any of application secret keys have an expiration period close to today. Generate a new Key if so, update expired one with this key in O365 application instance settings.

0871c0b47b3b86ae3b1af4c2942cd0ce caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF