Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ScubaGear does not ensure the required parameters for running non-interactive authentication are passed in all scenarios聽#2199

Copy link
Copy link
@tkol2022

Description

@tkol2022
Issue body actions

Prerequisites

  • 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

  1. Run ScubaGear as per below without the -AppId parameter and observe the crash.

Invoke-Scuba -ProductNames powerplatform -CertificateThumbPrint 2C0268B04B9F22EFA77A0EFF01930ADE279AC071 -Organization yourtenant.onmicrosoft.com -M365Environment commercial

Image

Expected 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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

bugThis issue or pull request addresses broken functionalityThis issue or pull request addresses broken functionality

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.