Skip to content

Commit 5806c41

Browse files
royarinVesaJuvonen
authored andcommitted
Update implement-ci-cd-with-azure-devops.md (SharePoint#2927)
Added note to inform that user must first perform an interactive logon using Office 365 CLI before performing a non-interactive logon in the release.
1 parent 841aead commit 5806c41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/spfx/toolchain/implement-ci-cd-with-azure-devops.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ Before using the App Catalog in you deployment environment, you first need to au
198198
`
199199
![connecting to the app catalog](../../images/azure-devops-spfx-15.png)
200200

201+
> [!NOTE]
202+
> If you are using Office CLI to connect to your tenant for the first time, you need to perform an interactive logon with the account first. This is required to grant access to PnP Office 365 Management Shell application which is used by Office CLI to access your tenant on the account's behalf. Your task will otherwise fail to logon non-interactively. Details available on Office 365 CLI [User Guide](https://pnp.github.io/office365-cli/user-guide/connecting-office-365/)
203+
201204
### Adding the Solution Package to the App Catalog
202205

203206
Upload the solution package to your App Catalog by adding another `Command Line` task and pasting the following command line in the `Script` field `o365 spo app add -p $(System.DefaultWorkingDirectory)/SpFxDevOps/drop/SharePoint/solution/sp-fx-devops.sppkg --overwrite`

0 commit comments

Comments
 (0)