无法将Web部件添加到目录管道Azure-访问被拒绝

时间:2019-10-17 16:42:31

标签: azure sharepoint azure-devops spfx

我创建了一个管道来捆绑和添加Webpart到应用程序目录中。我在下面收到此访问错误。有什么想法吗?

2019-10-17T16:28:44.6630984Z ##[section]Starting: add package to catalog
2019-10-17T16:28:44.6740356Z ==============================================================================
2019-10-17T16:28:44.6740433Z Task         : Command line
2019-10-17T16:28:44.6740486Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2019-10-17T16:28:44.6740546Z Version      : 2.151.2
2019-10-17T16:28:44.6740587Z Author       : Microsoft Corporation
2019-10-17T16:28:44.6740630Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2019-10-17T16:28:44.6740689Z ==============================================================================
2019-10-17T16:28:45.4965469Z Generating script.
2019-10-17T16:28:45.5061921Z Script contents:
2019-10-17T16:28:45.5070670Z o365 spo app add -p d:\a\r1\a/_ABFI-CI/drop/sharepoint/solution/json-feed.sppkg --overwrite
2019-10-17T16:28:45.5392405Z ========================== Starting Command Output ===========================
2019-10-17T16:28:45.5641516Z ##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "d:\a\_temp\6ca1b36f-40ef-444b-ae13-9e5ba3ba5d98.cmd""
2019-10-17T16:28:49.1097084Z Error: Access denied. You do not have permission to perform this action or access t**strong text**his resource.
2019-10-17T16:28:49.2305193Z ##[error]Cmd.exe exited with code '1'.
2019-10-17T16:28:49.2676400Z ##[section]Finishing: add package to catalog

1 个答案:

答案 0 :(得分:0)

我只需要被添加为网站管理员!

相关问题