# Sandbox Microsoft connector returning AADSTS7000222 (expired client secret)

**URL:** <https://forums.nylas.com/t/sandbox-microsoft-connector-returning-aadsts7000222-expired-client-secret/1271>\
**Category:** Question and Answers\
**Created:** [October 26, 2026, 1:49pm UTC](https://forums.nylas.com/t/sandbox-microsoft-connector-returning-aadsts7000222-expired-client-secret/1271 "2026-10-26T13:49:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KenMcArthur](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/kenmcarthur/32/438_2.png) [@KenMcArthur](https://forums.nylas.com/u/KenMcArthur)\
**Post date:** [October 26, 2026, 1:49pm UTC](https://forums.nylas.com/t/sandbox-microsoft-connector-returning-aadsts7000222-expired-client-secret/1271/1 "2026-10-26T13:49:47Z")

</div>

Hi Nylas Support,

The Microsoft connector on my sandbox application has stopped working because the Azure client secret has expired. Your notice arrived on Oct 22, 2026 at 12:30 AM ET. The connector has no credentials I can edit, because sandbox apps use Nylas’ Microsoft credentials, so I can’t renew the secret myself.

- Application: Sandbox (us region)
- Application / Client ID: `57de5f36-922e-473f-beff-9a84598662c5`
- Microsoft connector ID: `14fc9e30-8633-4766-8fca-fc795c5de087`
- Grant affected: `7835c7b9-67ec-4c83-9fa8-9dae9c0d8…` (Microsoft)

When my app calls the API for this grant, it returns 401 `authentication_error`. The provider details say:

> AADSTS7000222: The provided client secret keys for app ‘7f146ebf-ed50-4714-a9d2-0b2d3200dc63’ are expired.

First failure I saw was Oct 22, 2026 at 15:09 UTC. Example trace ID: `509360b5-586c-4cd8-9a69-00f8c87d6704`.

Could you please:

1. Renew the client secret on the sandbox Microsoft connector, and tell me when it’s done.
2. Confirm whether the existing Microsoft grant will recover on its own or whether the user must re-authenticate.
3. Tell me how I can get ahead of this, for example whether upgrading to a paid plan with my own Azure app registration would prevent it.

Thank you,  
Ken McArthur  
ConnectLab (connectlab.live)

---

<div class="post-metadata">

**Author:** ![Samuel.R](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@Samuel.R](https://forums.nylas.com/u/Samuel.R)\
**Post date:** [October 26, 2026, 1:50pm UTC](https://forums.nylas.com/t/sandbox-microsoft-connector-returning-aadsts7000222-expired-client-secret/1271/2 "2026-10-26T13:50:59Z")

</div>

Hello,

This is related to this incident, please let me know if the issue persists:

> **[\[US/EU\] Sandbox Apps - Microsoft 365 - Authentication Failures Using Nylas...](https://status-v3.nylas.com/incidents/f6p1cngpdd7n)**
>
> Nylas v3's Status Page - \[US/EU\] Sandbox Apps - Microsoft 365 - Authentication Failures Using Nylas Shared Credentials.

Many thanks,  
Samuel R.  
Support Engineer, Nylas

---

<div class="post-metadata">

**Author:** ![sarahrobinson](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@sarahrobinson](https://forums.nylas.com/u/sarahrobinson)\
**Post date:** [November 21, 2026, 11:36pm UTC](https://forums.nylas.com/t/sandbox-microsoft-connector-returning-aadsts7000222-expired-client-secret/1271/3 "2026-11-21T23:36:35Z")

</div>

While support handles the shared-secret renewal, the key distinction is between Nylas shared credentials and your own Azure app registration. On a paid plan with your own app registration, you control secret rotation and avoid this specific shared-secret expiry, but you still need calendar reminders and monitoring. For the existing grant, it will likely recover once Nylas updates the shared secret; re-authentication is only needed if the refresh token was invalidated. Use the incident status for confirmation.
