Skip to content

[BUG] Sync-PnPAppToTeams Authentication Method is not allowed #2501

Description

@thehorseofcourse

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 trying to deploy an App that is in my SharePoint App catalog to Teams. I first connect to my app catalog with Connect-PnPOnline with an account which has global admin, SharePoint Admin and Teams Admin permissions.

I then get the following error when running Sync-PnPAddToTeams

image

Steps to reproduce behavior

Connect-PnPOnline -Url https://contoso.sharepoint.com/sites/apps
Sync-PnPAppToTeams -Identity "AppID"

OR
Connect-PnPOnline -Url https://contoso.sharepoint.com/sites/apps -ClientId $(SPFxclientId) -CertificatePath $certificatePath -CertificatePassword $SecurePassword -Tenant $tenantName
Sync-PnPAppToTeams -Identity "AppID"

What is the version of the Cmdlet module you are running?

image

Which operating system/environment are you running PnP PowerShell on?

  • [X ] Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions