Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m365 teams app publish doesn't work with app permissions #3000

Closed
roberAlb opened this issue Jan 31, 2022 · 1 comment
Closed

m365 teams app publish doesn't work with app permissions #3000

roberAlb opened this issue Jan 31, 2022 · 1 comment
Labels
by design not supported Not supported by the API

Comments

@roberAlb
Copy link

Description

We are trying to deploy Teams app using app permissions in an automated process but it looks like is just allowed for a user with global admin permissions.

Steps to reproduce

we are authenticating using this line
m365 login --authType certificate --certificateFile "xxxxxxxx" --password "xxxxxxxx"--appId "xxxxxxxx" --tenant "xxxxxxxx"

and executing this line which is not working
m365 teams app publish --filePath "xxxxxxxx.zip"

Expected results

I was expecting to have the option to deploy a Teams application with an application with the right permissions.

Actual results

It looks like is just allowing to deploy an application when we are authenticated with a global admin.

Diagnostics

No response

CLI for Microsoft 365 version

4.4.0

nodejs version

10.24.1

Operating system (environment)

Windows

Shell

cmd

cli doctor

No response

Additional Info

No response

@waldekmastykarz
Copy link
Member

Unfortunately, the underlying API only supports delegated permissions and there's nothing that we can do about it.

I'd suggest that you share this feedback with the team behind Microsoft Graph at: https://docs.microsoft.com/en-us/answers/products/graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by design not supported Not supported by the API
Projects
None yet
Development

No branches or pull requests

2 participants