Feature request: Deployment story of apps from test/staging to prod #296
Replies: 10 comments
-
Would that be part of the generator? Or could we reuse some of the cli commands for this? |
Beta Was this translation helpful? Give feedback.
-
That's exactly what we should discuss 😀 |
Beta Was this translation helpful? Give feedback.
-
So we have the following commands in the CLI:
Do we miss commands to achieve a redeployment on a different tenant? |
Beta Was this translation helpful? Give feedback.
-
Could this pipeline be expanded to contain the app publishing as well? https://www.wictorwilen.se/blog/deploying-yo-teams-and-node-apps/ |
Beta Was this translation helpful? Give feedback.
-
Maybe just to clarify my initial idea so we can discuss that: |
Beta Was this translation helpful? Give feedback.
-
@stephanbisser that would fit our vision for the CLI, we could spec out a command that would grab an app and copy it to a different tenant (regardless of dev / test etc). @pnp/cli-for-microsoft-365-maintainers if we agree we could move this issue to the cli repo and spec out the command structure |
Beta Was this translation helpful? Give feedback.
-
To clarify deployment do we mean the actual application (web app, bot) or the Teams package? The latter has support using the |
Beta Was this translation helpful? Give feedback.
-
One challenge I can see here is the support for two accounts across the different tenants. We could do this using MSAL, but right now we don't support multiple accounts, so the only option would be to do it in a script with app-only login included. |
Beta Was this translation helpful? Give feedback.
-
That definitely would be something we would need to discuss beforehand what's the best approach to that so it's easy to use and intuitive without the need of login here and there |
Beta Was this translation helpful? Give feedback.
-
If you've got two tenants with different AADs and using different accounts, I don't think there is a way around it. If you can use the same account on both tenants, then we could get away with a single login, but then would still need to add support for selecting the tenant with which you want to communicate. |
Beta Was this translation helpful? Give feedback.
-
💡 Idea
It would be nice to have an easy way of deploying a Teams app which is already deployed on a test/staging tenant to a prod tenant without the need of running through everything again
Is your feature related to a bug
no
Alternatives
No response
Additional Info
No response
Beta Was this translation helpful? Give feedback.
All reactions