-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerShell/ScubaGear/RequiredVersions.ps1 old Module Versions #943
Comments
@BohrenAn Thank you for your report. I'll try and address each item you bring up here. See responses below.
Noted and a new issue #998 has been created to address this issue.
Noted and a new issue #999 has been created to address this issue
ScubaGear uses the Microsoft.Online.SharePoint.PowerShell module for user authenticated access and the PnP.PowerShell module for service principal authenticated access. So we cannot remove the PnP module without impacting the ability to run ScubaGear via service principals at this time. Also, the Microsoft SharePoint module is not yet compatible with PS7, therefore we cannot require PS7 for ScubaGear in order to move to PnP.PowerShell v2.2.0 (or latest). We continue to monitor and evaluate options and updates.
The issue noted updated MS Graph to the latest version. Pinning was added due to an issue that prevented ScubaGear from functioning for a time. We will continue to evaluate going forward. For now, new versions will be evaluated for compatibility and included in future releases.
The immediate fix would be to perform the Install-Module with -Force as indicated in the error message. However, I understand that this may be undesirable if you already use the MicrosoftTeams v6.0.0 module for other reasons. |
Hi @schrolla
It just feels a bit weird, to fix dependencys on a Module that is used for Security Recomendations - while my System is fully up to date with all the PowerShell Modules. Kind Regards |
|
🐛 Summary
In the PowerShell/ScubaGear/RequiredVersions.ps1 are many old Modules
MicrosoftTeams 6.0.0 (Current Version)
MaximumVersion = [version] '6.99.99999'
Microsoft.Online.SharePoint.PowerShell 16.0.24614.12000 (Current Version)
MaximumVersion = [version] '16.99.99999'
PnP.PowerShell 2.3.0 (Current Version but requires PowerShell 7)
Update to latest PnP.PowerShell (currently 2.2.0) #517
#517
Can you remove this Module? or update to 2.2.0 at least?
Test and update MS Graph PowerShell SDK module - v2.15.0 #930
#930
Microsoft.Graph and Microsoft.Graph.Beta Modules are updated about every two Weeks.
Doesn't make sense to limit it to a specific Version
MaximumVersion = [version] '2.99.99999'
To reproduce
Steps to reproduce the behavior:
Run SetUp.ps1 (it will install all the required Modules with the current version)
Import-Module .\PowerShell\ScubaGear
You will see the Errors
Expected behavior
Import-Module .\PowerShell\ScubaGear\ does work when installed the current Modules
Any helpful log output or screenshots
Paste the results here:
The text was updated successfully, but these errors were encountered: