# Authentication method is not allowed

**URL:** <https://forums.powershell.org/t/authentication-method-is-not-allowed/22642>\
**Category:** PowerShell Help\
**Created:** [July 21, 2023, 1:40pm UTC](https://forums.powershell.org/t/authentication-method-is-not-allowed/22642 "2023-07-21T13:40:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![buszi99](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@buszi99](https://forums.powershell.org/u/buszi99)\
**Post date:** [July 21, 2023, 1:40pm UTC](https://forums.powershell.org/t/authentication-method-is-not-allowed/22642/1 "2023-07-21T13:40:58Z")

</div>

Hi, when i run command Sync-PnPAppToTeams -Identity F8FBB38C-26DB-4B17-B506-35D0706BBA46 a get this error : Sync-PnPAppToTeams: {“odata.error”:{“code”:“10005”,“message”:{“lang”:“en-US”,“value”:“Authentication method is not allowed.”}}}. I’m logged into global admin account. I want to sync an app from tenant globall appcatalog to teams and this error occurs. Please help.

---

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [July 25, 2023, 12:10am UTC](https://forums.powershell.org/t/authentication-method-is-not-allowed/22642/2 "2023-07-25T00:10:23Z")

</div>

> [@buszi99](#):
>
> Sync-PnPAppToTeams

I trust you have looked at this thread?

> **[\[BUG\] Sync-PnPAppToTeams Authentication Method is not allowed · pnp/powershell...](https://github.com/pnp/powershell/discussions/2554)**
>
> Reporting an Issue or Missing Feature I am reporting a bug Expected behavior Using Sync-PnPAppToTeams should deploy an App in the SharePoint App catalog to Teams Actual behavior I am currently tryi...

---

<div class="post-metadata">

**Author:** ![buszi99](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@buszi99](https://forums.powershell.org/u/buszi99)\
**Post date:** [July 25, 2023, 7:40am UTC](https://forums.powershell.org/t/authentication-method-is-not-allowed/22642/3 "2023-07-25T07:40:00Z")

</div>

Yes, and still the same problem. I have registered application i AzureAD which has all this permissions

 ![image](https://us1.discourse-cdn.com/flex019/uploads/powershell/original/2X/a/a664fd057327f688272b35a7c716e2ceccda478d.png)

And still problem occurs

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:14pm UTC](https://forums.powershell.org/t/authentication-method-is-not-allowed/22642/4 "2024-05-16T20:14:44Z")

</div>


