Authentication method is not allowed

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.

I trust you have looked at this thread?

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

And still problem occurs