You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has an informative and human-readable title.
ScubaGear Version
Latest version.
Operating System
Windows 11
PowerShell Version
5.1
M365 Environment and License(s)
Unrelated to M365. Powershell issue.
馃悰 Summary
Currently ScubaGear only ensures all the required command line parameters have been passed to run non-interactive (service principal) authentication when the user passes -AppId, but does NOT do the same when the user passes -CertificateThumbPrint.
Steps to reproduce
Run ScubaGear as per below without the -AppId parameter and observe the crash.
ScubaGear should ensure all requires parameters are passed for service principal authentication if either AppId or CertificateThumbPrint are passed. This way we can minimize confusion to end users who may have forgotten to pass a parameter that is required.
Prerequisites
ScubaGear Version
Latest version.
Operating System
Windows 11
PowerShell Version
5.1
M365 Environment and License(s)
Unrelated to M365. Powershell issue.
馃悰 Summary
Currently ScubaGear only ensures all the required command line parameters have been passed to run non-interactive (service principal) authentication when the user passes -AppId, but does NOT do the same when the user passes -CertificateThumbPrint.
Steps to reproduce
Invoke-Scuba -ProductNames powerplatform -CertificateThumbPrint 2C0268B04B9F22EFA77A0EFF01930ADE279AC071 -Organization yourtenant.onmicrosoft.com -M365Environment commercialExpected behavior
ScubaGear should ensure all requires parameters are passed for service principal authentication if either AppId or CertificateThumbPrint are passed. This way we can minimize confusion to end users who may have forgotten to pass a parameter that is required.
Output from Initialize-SCuBA (optional)
No response