# M365 Authentication delegation ends up on 401 Error in Fibrery

**URL:** <https://community.fibery.io/t/m365-authentication-delegation-ends-up-on-401-error-in-fibrery/7669>\
**Category:** Bugs & Issues\
**Created:** [October 27, 2024, 9:02am UTC](https://community.fibery.io/t/m365-authentication-delegation-ends-up-on-401-error-in-fibrery/7669 "2024-10-27T09:02:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smoran](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/smoran/32/8909_2.png) [@smoran](https://community.fibery.io/u/smoran)\
**Post date:** [October 27, 2024, 9:02am UTC](https://community.fibery.io/t/m365-authentication-delegation-ends-up-on-401-error-in-fibrery/7669/1 "2024-10-27T09:02:51Z")

</div>

Our Fibery authentication is delegated to M365 and today after completing the M365 flow, we end up on Fibery with the following 401 error…

I’m still authenticated on my web browser but if try on the desktop app or any other web browser I get this error… Some of our users are locked out…

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/c/cf92e7ba0ac32daf4f899a164e0b9c3914e7d7e5.png)

I guess we can temporarily enable back the Email method. But not sure if the issue is on our end or not.

---

<div class="post-metadata">

**Author:** ![itsu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/itsu/32/1775_2.png) [@itsu](https://community.fibery.io/u/itsu)\
**Post date:** [October 27, 2024, 11:05am UTC](https://community.fibery.io/t/m365-authentication-delegation-ends-up-on-401-error-in-fibrery/7669/2 "2024-10-27T11:05:27Z")

</div>

Hello, Sebastien!  
​﻿  
﻿We’ve resolved the issue and apologize for the inconvenience. We’ve added steps to prevent this situation from happening again.

---

<div class="post-metadata">

**Author:** ![smoran](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/smoran/32/8909_2.png) [@smoran](https://community.fibery.io/u/smoran)\
**Post date:** [October 27, 2024, 11:09am UTC](https://community.fibery.io/t/m365-authentication-delegation-ends-up-on-401-error-in-fibrery/7669/3 "2024-10-27T11:09:16Z")

</div>

Great! Just tested and it works 🙏 Thanks for resolving this on a Sunday ⚡

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [October 28, 2024, 4:18pm UTC](https://community.fibery.io/t/m365-authentication-delegation-ends-up-on-401-error-in-fibrery/7669/4 "2024-10-28T16:18:23Z")

</div>


