Grant Consent for Client Id and App Registration

Grant Delegated User Permissions for the Sync User

  1. Use a clean text program (Notepad for Windows, Text Edit for Mac) to create a Uniform Resource Identifier (URI) for authorization by pasting the below text and substituting the client_id, redirect_uri, and stae values.

    https://login.microsoftonline.com/common/oauth2/authorize?
    client_id='xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx'
    &response_type='code'
    &redirect_uri='https://www.<ourdomain>.com'
    &response_mode='query'
    &state='SOME_UNIQUE_UID'
    client_id value should be the client_id generated in App Registration process
    redirect_uri value should be same as value entered at the time of App registration-> Redirect URIs
    state value can be any ID (e.g.,12345)
    
    client_id value should be the client_id generated in App Registration process
    redirect_uri value should be same as value entered at the time of App registration > Redirect URIs
    state value can be any ID (e.g.,12345)

    The final URL should look something like this: https://login.microsoftonline.com/common/oauth2/authorize?client_id=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx&response_type=code&redirect_uri=https://www.marketo.com&response_mode=query&state=12345

  2. Open the URI you created in any browser.

  3. Log in as the Sync User you’re granting permissions for.

    NOTE

    If you’re already logged in to Azure as an Admin in another tab, you’ll need to use a different browser or Incognito mode to log in as the Sync User.

  4. Click Accept.

As an administrator, you can also consent to an application’s delegated permissions on behalf of all the users in your tenant. Administrative consent prevents the consent dialog from appearing for every user in the tenant, and can be done in the Azure portal by users with the administrator role. Learn which administrator roles can consent to delegated permissions here.

  1. In your Azure portal, navigate to the application homepage.

  2. Under Manage, click API Permissions.

  3. Click the Grant admin consent (for tenant) button.

  4. Click Yes to confirm.

On this page