Question:
I try to figure out if there is a possiblity of continous deployment/integration of sharepoint framework solutions together with the o365 cli. When connecting to SPO I need to open the browser in order to get signed in. Is there a possibility to automate this sign-in process (eventually by sending credentials with the connect request) ?
You only need to sign in once. After that, the refresh token is persisted and reused for obtaining valid access token. Unfortunately, at the moment there is no way to pass credentials into the CLI.
Hey @Fabske411, I've just submitted a PR #392 which allows authentication using credentials. Once it's merged, you will be able to authenticate non-interactively with your user name and password.
@Fabske411 we've just published a beta of the Office 365 CLI (v1.2.0) with support for authentication using credentials. It would be awesome if you could give it a try and see if it's working for you. You can get the beta using npm i -g @pnp/office365-cli@next.
@waldekmastykarz awesome job! works like a charm. This feature enables me to set up an automated build / release chain. thank you
Cool! Great to hear it’s working for you! Ok to close this issue?
Yes. Can be closed 😊
Von: Waldek Mastykarz [mailto:[email protected]]
Gesendet: Sonntag, 8. April 2018 10:58
An: SharePoint/office365-cli office365-cli@noreply.github.com
Cc: Scherr, Fabian Fabian.Scherr@adesso.de; Mention mention@noreply.github.com
Betreff: Re: [SharePoint/office365-cli] Continuos deployment with o365 cli (#375)
Cool! Great to hear it’s working for you! Ok to close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/SharePoint/office365-cli/issues/375#issuecomment-379533271, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ajor7hmyILsQcR9r7_wQVSMfRbNkm5ctks5tmdEggaJpZM4SyhFe.
adesso AG mit Sitz in Dortmund
Vorstand: Michael Kenfenheuer (Vors.), Christoph Junge, Andreas Prenneis
Vorsitzender des Aufsichtsrates: Prof. Dr. Volker Gruhn
Amtsgericht Dortmund HRB 20663
Laden Sie hier Ihr kostenloses Whitepaper zum Thema Customer Experience Management herunter.
www.den-kunden-verstehen.de