# I can't connect Microsoft to Nylas, everything works fine with Gmail

**URL:** <https://forums.nylas.com/t/i-cant-connect-microsoft-to-nylas-everything-works-fine-with-gmail/623>\
**Category:** Question and Answers\
**Created:** [February 6, 2025, 8:31am UTC](https://forums.nylas.com/t/i-cant-connect-microsoft-to-nylas-everything-works-fine-with-gmail/623 "2025-02-06T08:31:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kateryna](https://avatars.discourse-cdn.com/v4/letter/k/b5a626/32.png) [@Kateryna](https://forums.nylas.com/u/Kateryna)\
**Post date:** [February 6, 2025, 8:31am UTC](https://forums.nylas.com/t/i-cant-connect-microsoft-to-nylas-everything-works-fine-with-gmail/623/1 "2025-02-06T08:31:07Z")

</div>

I am getting this error

```auto
We're unable to complete your request
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.

```

---

<div class="post-metadata">

**Author:** ![ram](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/ram/32/3_2.png) [@ram](https://forums.nylas.com/u/ram)\
**Post date:** [February 12, 2025, 7:13pm UTC](https://forums.nylas.com/t/i-cant-connect-microsoft-to-nylas-everything-works-fine-with-gmail/623/2 "2025-02-12T19:13:45Z")

</div>

Hi @Kateryna thanks for posting, are you using a sandbox or development environment?

Just want to confirm if you have added a Google Project or are using our sandbox environment for testing.

> We’re unable to complete your request  
> invalid\_request: The provided value for the input parameter ‘redirect\_uri’ is not valid. The expected value is a URI which matches a redirect URI registered for this client application.

Looking at the error, it seems a callback URI has not been specified, can you confirm this via dashboard:

 ![Screenshot 2025-02-12 at 2.13.35 PM](https://us1.discourse-cdn.com/flex015/uploads/nylas3/original/1X/5e13968183663f55582bc7575641657b68f40f7e.png)
