microsoft / secmgmt-insights-connector

Power BI connector that provides insight into the current state of how Microsoft 365 is configured and whether best practices have been implemented
MIT License
13 stars 3 forks source link

Unable to Install-SecMgmtInsightsConnector #151

Closed DeanGross closed 3 years ago

DeanGross commented 3 years ago

Steps to reproduce

Opened VS Code as Admin, installed SecMgmt, ran Connect-SecMgmtAccount, App was created, then ran Install-SecMgmtInsightsConnector : and got Code: Authorization_RequestDenied Message: Insufficient privileges to complete the operation. Inner error: AdditionalData: date: 2021-01-14T13:29:11 request-id: a123ce74-dd8b-49c7-b97a-3f78b1a968eb client-request-id: a123ce74-dd8b-49c7-b97a-3f78b1a968eb ClientRequestId: a123ce74-dd8b-49c7-b97a-3f78b1a968eb

Expected behavior

script to run with out error

Actual behavior

What is the behavior observed?

Diagnostic logs

n/a

Environment

Version: 1.52.1 (user setup) Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523 Date: 2020-12-16T16:34:46.910Z Electron: 9.3.5 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Windows_NT x64 10.0.18363

DeanGross commented 3 years ago

Ok, so it turns out that elevating my role to Global Admin eliminated this problem. It would be helpful if this was explained in the documentation