Skip to content

Failing to connect to defender #1691

Closed as not planned
Closed as not planned
@zachurrutia

Description

@zachurrutia

Initializing SCuBA shows all modules are up to date.
Using an account assigned with Exchange Administrator role.

Recreate Issue
When running the invoke-scuba command with the defender product, I am receiving the following errors

WARNING: Error retrieving Tenant details using Get-EXOTenantDetail The term 'Get-OrganizationConfig' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Write-Error: Error connecting to ExchangeOnline. Cannot validate argument on parameter 'M365Environment'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command
again.
WARNING: Error running Get-AdminAuditLogConfig. The term 'Get-AdminAuditLogConfig' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
Exception: Fatal Error involving the Report Creation.              Ending ScubaGear execution. See the exception message for more details: Cannot validate argument on parameter 'Config'. The argument is null
or empty. Provide an argument that is not null or empty, and then try the command again.

I ran a Disconnect-SCuBATenant command and receiving the same results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    public-reportedThis issue is reported by the public users of the tool.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions