Comments (5)
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.
Closed in #24. The Disconnect-SCuBATenant
and -DisconnectOnExit
should improve this use case. Use either to fully disconnect your current session from any existing tenants.
We are exploring how to improve multi-tenant handling going forward, too. There are some limitations in the different MS modules.
from scubagear.
Related Issues (20)
- Baseline Policy Enhancements, Part 1
- M365 Auditing Changes and Enhancements, Part 2 HOT 1
- Service Principal Security
- Refactor Test Cases
- Clean up sample config files
- Change from BITS to WebClient HOT 2
- MS.AAD.6.1 Does not account for federated domains HOT 5
- M365 Auditing Changes and Enhancements, Part 1
- Baseline Policy Enhancements, Part 2
- None of the Microsoft.Graph.Beta cmdlets work in GCC High HOT 5
- Uninstall modules using the required versions
- SharePoint functional test plan for the spo variant is failing/erroring for multiple policies
- Create a workflow to automatically bump PowerShell module dependencies
- New Power Platform Policy: Disable sharing PowerApps by default
- Add a flag to disable the warning dependency check for ScubaGear
- Add instructions for running ScubaGear in a container within Azure
- Issues with sharepoint authentication please help HOT 2
- Invoke-Scuba and Invoke-Scuba -ProductNames * do not assess the same products
- The parameter sets for the Orchestrator need re-working
- Invoke-RunCached does not automatically include -LogIn $false
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.