Subdomain Parameter (Connect-SFMarketingCloud Cmdlet)
The subdomain of the Salesforce Marketing Cloud API.
Syntax
Connect-SFMarketingCloud -Subdomain string
Data Type
cstr
Default Value
""
Remarks
The subdomain identifies your specific Marketing Cloud environment and is required to construct the correct authentication and API endpoints.
You can obtain the subdomain from your Marketing Cloud package settings:
- Log in to Marketing Cloud.
- Navigate to Setup, then select Apps > Installed Packages.
- Select the package that contains the API integration you are using.
- Locate the Authentication Base URI. For example: https://SUBDOMAIN.auth.marketingcloudapis.com/
- Use only the SUBDOMAIN portion of the Authentication Base URI.
This property is useful for constructing the correct authentication and API endpoints for your Marketing Cloud environment.
This is a required parameter.