ÃÛ¶¹ÊÓƵ

Grant Consent for Client Id and App Registration grant-consent-for-client-id-and-app-registration

Follow the steps below to learn how to grant the mecessary consent/permissions.

Grant Delegated User Permissions for the Sync User 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.

    code language-none
    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)
    
    table 0-row-2 1-row-2 2-row-2 html-authored no-header
    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 note
    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 .

  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.

recommendation-more-help
94ec3174-1d6c-4f51-822d-5424bedeecac