-
Notifications
You must be signed in to change notification settings - Fork 204
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
Install manifest with setup.exe #11959
Comments
@CodeCube0 Thanks for feedback. Two questions to confirm your requirements:
|
Hello @jayzhang for your first question: Yes I would need to run the manifest.xml installation silently without user interaction. I would like to recover the Microsoft user logged into the Windows PC if possible so as not to disturb him during the installation. for your second question: I noticed that when the credentials are requested to log in to the Microsoft account and retrieve the authentication token, a redirect is performed to a local server which "I think" is performed via nodejs. There wouldn't be a different way to do it |
@CodeCube0 Thanks for clearify. Is it OK for you if: we provide a way to login without interaction. Prerequisite is you need to turn off the Multi Factor Authentications for your M365 account and set environment variables for your m365 credential (M365_ACCOUNT_NAME, M365_ACCOUNT_PASSWORD). Then you could execute |
Sure, that would be great. A thousand thanks @jayzhang |
@CodeCube0 You can try this CLI version: https://www.npmjs.com/package/@microsoft/teamsapp-cli/v/3.0.3-beta.2024071606.0 |
I would like to try to create a setup.exe that allows you to install the add-in manifest directly into the client of the user running it, but I can't find anything on the internet or in the forums. I would like to know if there is some way to do it or if there is already some tool that allows you to do it. I know distribution is done through other processes but I would like to try a different approach if possible.
I noticed that using the command "npx @microsoft/teamsapp-cli install --xml-path manifest.xml" it is possible to install the add-in manifest in sideload mode, there is the possibility of doing so without the form appearing entering user credentials? Maybe taking them from somewhere?
I noticed that on some PCs it is not possible to start the local server which runs at the following path "http://localhost:53487" is there a possibility of doing it differently?
The text was updated successfully, but these errors were encountered: