有关于Azure DevOps管道服务帐户的概念吗?我有一个任务(连接到SharePoint在线),我想使用一个服务帐户来执行它。
发布于 2020-10-26 23:53:36
您正在谈论的是服务连接,您可以在Azure DevOps管道中使用它。你可以用它
azureSubscription: `<your-service-connection`
在管道中(例如,与SharePoint联机连接)。您可以在微软的文档中获得更多有用的信息:https://learn.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml
P.S.也可以登录到Sharepoint Online
npm install -g @pnp/office365-cli &&
o365 spo login https://$(tenant).sharepoint.com/$(catalogsite) — authType password — userName $(username) — password $(password)
可以将租户、目录站点、用户名和密码保存为秘密变量。欲了解更多信息:https://stridelysolutions.medium.com/how-to-setup-azure-devops-with-sharepoint-framework-5b7e570bbcc9
https://stackoverflow.com/questions/64549534
复制相似问题