Microsoft.PowerApps.Administration.PowerShell module v2.0.197 cannot be imported #1345
Labels
bug
This issue or pull request addresses broken functionality
upstream update
This issue or pull request pulls in upstream updates
Milestone
🐛 Summary
An error in the latest version (2.0.197) of the PowerApps module used by ScubaGear appears to have been published with an error that prevents it from being imported properly. As a result, ScubaGear will fail when running with PowerPlatform assessment enabled.
To reproduce
Steps to reproduce the behavior:
Initialize-SCuBA
to get the affected version ofMicrosoft.PowerApps.Administration.PowerShell
Invoke-SCuBA -p powerplatform
Expected behavior
ScubaGear is able to import the Microsoft.PowerApps.Administration.PowerShell module and run normally.
Any helpful log output or screenshots
Current behavior when running
![Screenshot 2024-09-30 at 3 31 51 PM](https://private-user-images.githubusercontent.com/108814318/372239159-e9b16501-7ac7-4939-b278-deb558d1b39f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2ODA2MTUsIm5iZiI6MTczOTY4MDMxNSwicGF0aCI6Ii8xMDg4MTQzMTgvMzcyMjM5MTU5LWU5YjE2NTAxLTdhYzctNDkzOS1iMjc4LWRlYjU1OGQxYjM5Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQwNDMxNTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00YzYyZDAxNzJjZDVkYWQ0YzE0MTRiY2NlNDBhODYxZGNmZjlhMThkYjQzMDI2YWNhODQ5ODljYzE2MmE3OTg4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.DyVAw4cQZAXu7D20y8aeIq5nC2c1hPMqbpZJhqnteXM)
Invoke-SCuBA -p powerplatform
with the affected PowerApps module.Result of running a direct Import-Module Microsoft.PowerApps.Administration.PowerShell showing the error when trying to import the module:
![Screenshot 2024-09-30 at 3 34 42 PM](https://private-user-images.githubusercontent.com/108814318/372240040-33656a11-0b3b-44b9-ad78-2bb4663f86b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2ODA2MTUsIm5iZiI6MTczOTY4MDMxNSwicGF0aCI6Ii8xMDg4MTQzMTgvMzcyMjQwMDQwLTMzNjU2YTExLTBiM2ItNDRiOS1hZDc4LTJiYjQ2NjNmODZiOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQwNDMxNTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NjczODIzOTY0MjQyZDYzOWZhMzE2OGZhYjBlMzlmZTY4ZWJkM2FhMmMzNDk4MTE2OTZjNWI1ZDBiMzAzMThhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.jXQybN69M380W8EZRWImBSAfyg_xqaeCGR3Ck-lRFZY)
The text was updated successfully, but these errors were encountered: