Cmdlets for Salesforce Marketing Cloud

Build 25.0.9539

AccountId Parameter (Connect-SFMarketingCloud Cmdlet)

Specifies the account identifier, or Member ID (MID), of the target business unit.

Syntax

Connect-SFMarketingCloud -AccountId string

Data Type

cstr

Default Value

""

Remarks

Set this property to switch the OAuth context to a specific business unit. When a value is provided, the specified AccountId is used only during the OAuth flow.

When this property is not set, the returned access token is created in the context of the business unit that created the integration.

This property is not supported for legacy packages.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539