Navigate to this Microsoft article.
Follow all the steps. For Step 3, enter a relevant application name (e.g., “Marketo Integration”). Under the Supported Account Types, select Account in this Organizational Directory Only.
Write down the Application ID (ClientId) and Tenant ID. You’ll need to enter it in Marketo later.
Grant Admin consent by following the steps in this article.
Generate a Client Secret in the Admin Center by clicking Certificates & secrets.
Click the New client secret button.
Enter a client secret description and click Add.
Make sure to make note of the Client Secret value (seen in the screenshot below), as you’ll need it later. It is only shown once, and you won’t be able to retrieve it again.
Federated Azure AD to ADFS Onprem needs the creation of a Home Realm Discovery policy for the specific application. With this policy, Azure AD will redirect the authentication request to the federation service. Password hash synchronization has to be enabled in AD Connect for this. For more information, please see OAuth with ROPC and Set an hrd policy for an application.
Additional references can be found here.
This applies to Marketo version 188.8.131.52 and later. For earlier versions, all users must have the sync user role. To upgrade your Marketo solution, see this article.
Go back to the Application Users tab and refresh the users list.
Hover next to the newly created Application user, and a checkbox will appear. Click to select it.
Click Manage Roles.
Check Marketo Sync User and click OK.
Almost there! All we have left is to inform Marketo Solution about the new user created.
If you’re upgrading from Basic Authentication to OAuth, you’ll need to contact Marketo Support for help with updating the additional parameters. Enabling this feature will temporarily stop the sync until new credentials are entered and the sync is re-enabled. The feature can be disabled (until April 2022) should you want to revert to the old Authentication mode.
Go back to the Advanced Settings section and click the icon next to Settings, and select Marketo Config.
If you don’t see Marketo Config in the Settings menu, refresh the page. If that doesn’t work, try to publish the Marketo Solution again or log out and back in.
Click the search button on the Marketo User field and select the sync user you created.
Click the icon in the bottom-right corner to save the changes.
Click the X in the upper-right to close the screen.
Click the icon next to Settings, and select Solutions.
Click the Publish All Customizations button.