# Getting server error while following Azure AD multi-tenant application tutorial

**URL:** <https://community.auth0.com/t/getting-server-error-while-following-azure-ad-multi-tenant-application-tutorial/6206>\
**Category:** Get Help\
**Tags:** oauth\
**Created:** [April 13, 2017, 12:35pm UTC](https://community.auth0.com/t/getting-server-error-while-following-azure-ad-multi-tenant-application-tutorial/6206 "2017-04-13T12:35:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pathakj](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@pathakj](https://community.auth0.com/u/pathakj)\
**Post date:** [April 13, 2017, 12:35pm UTC](https://community.auth0.com/t/getting-server-error-while-following-azure-ad-multi-tenant-application-tutorial/6206/1 "2017-04-13T12:35:08Z")

</div>

Has any body tried the tutorial available at:

[https://auth0.com/docs/tutorials/building-multi-tenant-saas-applications-with-azure-active-directory](https://auth0.com/docs/tutorials/building-multi-tenant-saas-applications-with-azure-active-directory)

In particular, using an Angular 2 project? I followed exactly as per the above link but I get the following error:

```
server_error: Unable to issue redirect for OAuth 2.0 transaction

```

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [April 13, 2017, 11:32pm UTC](https://community.auth0.com/t/getting-server-error-while-following-azure-ad-multi-tenant-application-tutorial/6206/2 "2017-04-13T23:32:01Z")

</div>

The link you mentioned includes a code snippet similar to the following in the [signin section](https://auth0.com/docs/tutorials/building-multi-tenant-saas-applications-with-azure-active-directory#signin):

```
webAuth.authorize({
  connection: YOUR_AUTH0_CONNECTION_AZURE_AD_NAME,
  responseType: 'code',
  // repeat any needed custom auth params here
  // , redirectUri: "..."
});

```

If you did not update this block to include - uncomment - the `redirectUri` parameter then this may explain the specific error you got (_Unable to issue redirect for OAuth 2.0 transaction_) given that error will be triggered if the authorization server does not know where to perform the HTTP redirection.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/getting-server-error-while-following-azure-ad-multi-tenant-application-tutorial/6206/3 "2018-03-02T05:53:14Z")

</div>


