Skip to content

Connect-EAIAccount

Terminal window
Connect-EAIAccount -EdwinOrg <string> -ClientId <string> -ClientSecret <string>
[-DisableConsoleLogging] [-SkipCredValidation] [<CommonParameters>]
Terminal window
Connect-EAIAccount -AuthFilePath <string> [-DisableConsoleLogging] [-SkipCredValidation]
[<CommonParameters>]
Terminal window
Connect-EAIAccount [-UseCachedCredential] [-CachedAccountName <string>] [-DisableConsoleLogging]
[-SkipCredValidation] [<CommonParameters>]

Connect-EAIAccount establishes a session for sending custom third-party events to Edwin. This is separate from Connect-LMAccount. LogicMonitor alerts are already sent to Edwin natively; use these cmdlets to ingest events from external systems such as Meraki, ServiceNow, or custom applications.

When credential validation is enabled, Connect-EAIAccount exchanges client credentials for a Bearer access token via POST /auth/token.

Terminal window
Connect-EAIAccount -EdwinOrg "myorg" -ClientId "client-id" -ClientSecret "client-secret"
Terminal window
Connect-EAIAccount -CachedAccountName "EAI:myorg"

Path to a YAML auth file containing edwin_org, client_id, and client_secret.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: File
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

The cached Edwin account name to use from the Logic.Monitor secret vault.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Cached
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

The client ID used for Edwin OAuth2 client credentials authentication.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Credential
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

The client secret used for Edwin OAuth2 client credentials authentication.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Credential
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Disables informational messages for subsequent commands. Console logging is enabled by default.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

The Edwin organization subdomain (the name before “.dexda.ai”).

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Credential
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Skip local validation of required credential fields and the remote token grant check.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Load credentials from the Logic.Monitor secret vault using interactive selection.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Cached
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.