# Azure SSO Problem with Pritunl VPN

**URL:** <https://forum.pritunl.com/t/azure-sso-problem-with-pritunl-vpn/1060>\
**Category:** Pritunl VPN\
**Created:** [May 23, 2023, 2:45pm UTC](https://forum.pritunl.com/t/azure-sso-problem-with-pritunl-vpn/1060 "2023-05-23T14:45:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrlane2k](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrlane2k](https://forum.pritunl.com/u/mrlane2k)\
**Post date:** [May 23, 2023, 2:45pm UTC](https://forum.pritunl.com/t/azure-sso-problem-with-pritunl-vpn/1060/1 "2023-05-23T14:45:32Z")

</div>

I have followed the SSO guide for azure. I have a user provisioned and when attempting to sign in it opens the browser twice, both pages say successfully authenticated connection, however, the pritunl client says that the connection failed.

The only thing I can find in logs are from the client service log:

[2023-05-23 10:43:04][ERRO] ▶ request: Bad status from server ◆ body=“401: Unauthorized” ◆ host=“” ◆ status\_code=401  
[2023-05-23 10:43:04][WARN] ▶ profile: Request ovpn connection error  
request: Bad status 401 code from server

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [May 25, 2023, 1:09am UTC](https://forum.pritunl.com/t/azure-sso-problem-with-pritunl-vpn/1060/2 "2023-05-25T01:09:18Z")

</div>

Check the logs in the top right of the web console.

---

<div class="post-metadata">

**Author:** ![mrlane2k](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrlane2k](https://forum.pritunl.com/u/mrlane2k)\
**Post date:** [May 25, 2023, 12:10pm UTC](https://forum.pritunl.com/t/azure-sso-problem-with-pritunl-vpn/1060/3 "2023-05-25T12:10:33Z")

</div>

A login attempt with this user provides no logging from the web console logs.
