Comments (4)
We are seeing this bug too, with the same process. Tested on our own tenancy and it worked perfectly. Tested on a client tenancy after this and go the same error.
The solution for us was to run:
Disconnect-MgGraph
in powershell prior to running .\RunSCuBA.ps1 to disconnect the Graph connector and re-prompt for Consent.
from scubagear.
This seems to be saving some tokens/secrets in the user profile who ran it, If you use a new profile (have to run the setup first) you can then run another test on another tenant, i think ill try and use temp users for the time being, but we shouldnt be storing the first creds/tokens in the users areas
from scubagear.
Thanks for the feedback. We're investigating better authentication handling, especially for users with multiple tenants, for future releases.
I'd recommend running Disconnect-MgGraph
and then opening a new PowerShell window if you want to run against a different tenant.
from scubagear.
We are seeing this bug too, with the same process. Tested on our own tenancy and it worked perfectly. Tested on a client tenancy after this and go the same error.
The solution for us was to run: Disconnect-MgGraph in powershell prior to running .\RunSCuBA.ps1 to disconnect the Graph connector and re-prompt for Consent.
Yep, that worked for me. Many thanks.
from scubagear.
Related Issues (17)
- Get-SPOTenant : Attempted to perform an unauthorized operation. HOT 4
- Add GCCHigh Endpoint HOT 1
- Getting an unable to parse input: yaml error HOT 11
- Various sections of report incorrectly list failure HOT 7
- Azure AD Baseline Feedback HOT 1
- Additional Defender prodcuts HOT 1
- Unexpected exception returned from msal HOT 2
- Device Security Baseline for Cross-Tenant Access HOT 1
- ProviderSettingsExport.json is broken JSON HOT 6
- Sample Report Output HOT 6
- Report is creating errors when run with non ASCII characters HOT 7
- Azure AD Baseline / PIM Alerting > add link to MS PIM Alert documentation HOT 2
- Getting Started HOT 1
- Azure Government and GCC High Support HOT 4
- Getting multiple product results when any number of products are assigned to the ProductNames variable. HOT 2
- Add note about Unblock-File HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scubagear.