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
Unable to publish the version from the teamsapp-cli #11249
Comments
It's coming from: https://stackoverflow.com/questions/78243635/unable-to-publish-the-ms-teams-application-using-teams-cli Hey @tbhaxor, as you can publish the app from Teams Developer Portal, can you please provide the response from following API: Thanks! |
From the Developer Portal or the CLI? |
Here is the debug output of the publish command. You could see some changes in the error message because I have upgraded the toolkit from
|
Thanks @tbhaxor , I mean Teams Developer Portal network trace. Or can you please provide your app package zip file to me? Then I can try if I can reproduce the error. |
The application is used privately within the tenant, please share your email, and I will send it to you. |
hi @tbhaxor, we can reproduce the error now. The exception is due to empty response body from an external API. We are currently contacting the related teams for a solution. Sorry for the inconvenience. |
Hi there! Any updates on the fix? |
hi @tbhaxor we are still working with the relevant team to resolve the issue. I will post updates here once we have a solution. Thanks. |
hi @tbhaxor, the root cause is that our upstream does not correctly handle the |
Hi @anchenyi Thanks for your response. I have another follow up question.
|
hi @tbhaxor , right now we do not support referencing a markdown file. @MuyangAmigo could you help to check this requirement? |
Hi @tbhaxor, this issue has been resolved. It's fine to use |
How can I login |
Ping 0x00. My questions aren't answered. |
I have found a workaround for this. You may ignore this question. |
Describe the bug
I want to publish the teams application from the
@microsoft/teamsapp-cli
. I can seeteamsApp/update
is working fine butteamsApp/publishAppPackage
from the same provision lifecycle configuration is giving me the error. Unfortunately (even with--verbose
and--debug
), this is all I am getting on the console.To Reproduce
Steps to reproduce the behavior:
npm i -g @microsoft/teamsapp-cli
)teamsapp account login m365
)teamsapp provision --env prod && teamsapp deploy --env prod
)teamsapp publish --env prod
)Expected behavior
It should work, as
teamsApp/update
is working. I can also confirm that Publish from the web ui (https://dev.teams.microsoft.com/apps/${APP_ID}/overview) is working.And I can confirm the application (v1.1.0) was submitted for approval, and is now approved.
VS Code Extension Information (please complete the following information):
N/A
CLI Information (please complete the following information):
Additional context
Lifecycle hook configuration from
teamsapp.yaml
The text was updated successfully, but these errors were encountered: