Skip to content

AuthType=ClientSecret without secret attempts interactive authentication (Connection String) #514

Open
@fowl2

Description

@fowl2

I forgot the secret in my `AuthType=ClientSecret;ClientId=aaaaaa-bbbb-cccc-ddddd" connection string, and was confused by an error refering to interactive authentication:

Unable to connect to Dataverse: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

If interactive authentication were possible I imagine I'd be even more confused by my code running as an unexpected principal

It'd be great if there was a specific error message for a missing secret.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions