msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

No samples for New-MgAppCatalogTeamApp/Update-MgAppCatalogTeamApp cmdlets

Open paul-sk opened this issue 3 years ago • 1 comments

It is unclear how to specify teams app zip in the BodyParameter of these cmdlets.

paul-sk avatar Apr 24 '22 18:04 paul-sk

Thanks for bringing this to our attention. The APIs are currently not marked as supporting zip files in service metadata (that the SDK is generated from). I've opened an issue at https://github.com/microsoftgraph/msgraph-metadata/issues/163 for us to review and fix this in the service metadata.

As a workaround, you can use Invoke-MgGraphRequest to publish an app to the app catalog:

Invoke-MgGraphRequest -Uri "v1.0/appCatalogs/teamsApps" -ContentType "application/zip" -InputFilePath PATH_TO.zip

peombwa avatar Jun 03 '22 23:06 peombwa

This is a metadata issue. Issue was transferred to https://github.com/microsoftgraph/msgraph-metadata/issues/163.

peombwa avatar May 30 '23 22:05 peombwa