Register a Microsoft Entra ID application
Register an OAuth application in the Microsoft Entra admin center to obtain a Client ID and Client Secret for Microsoft Advertising.
Sign in to the Microsoft Entra admin center
Open the Microsoft Entra admin center and sign in with your Microsoft work or personal account.

Open App registrations
In the left sidebar under Entra ID, click App registrations, then click + New registration in the toolbar.

Choose the supported account types
On the Register an application screen, enter a Name (e.g., StackOne Microsoft Advertising). Under Supported account types, open the dropdown and select Any Entra ID Tenant + Personal Microsoft accounts (shown as Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)).

Set the Redirect URI and register
Under Redirect URI (optional), select the Web platform and paste StackOne’s callback URL, then click Register.
- Redirect URI:
https://api.stackone.com/connect/oauth2/bingads/callback

Create and copy your credentials
Copy the client ID and generate a client secret for the StackOne connection.
Copy the Application (client) ID
On the app’s Overview page, in the Essentials panel, copy the Application (client) ID — this is the public identifier of your app. Paste it into the Client ID field in the StackOne Connector profile.

Open Certificates & secrets
In the left menu under Manage, click Certificates & secrets. On the Client secrets tab, click + New client secret.

Add the client secret
In the Add a client secret panel, enter a Description, choose an expiry under Expires (default Recommended: 180 days (6 months)), and click Add.
- Track the expiry date — the connection stops working when the secret expires and you will need to create a new one.

Copy the secret Value
Copy the new secret’s Value column (not the Secret ID) and paste it into the Client Secret field in the StackOne Connector profile.
- The secret Value is only displayed once and cannot be retrieved later — copy it before leaving the page.

Set the Scopes field (optional)
The Scopes field in the StackOne Connector profile is a space-separated list of OAuth scopes to request. Leave it blank to use the default — no extra API permissions need to be added in Azure, because Microsoft Advertising consent is requested at connect time.
- Default:
https://ads.microsoft.com/msads.manage offline_access
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Bing Ads (Microsoft Ads):Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select Bing Ads (Microsoft Ads)
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- Scopes (Optional)
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile