Tutorial: Configuring NetSuite for automatic user provisioning

The objective of this tutorial is to show you the steps you need to perform in NetSuite OneWorld and Azure AD to automatically provision and de-provision user accounts from Azure AD to NetSuite.


This provisioning integration will stop working with the release of NetSuite's Spring 2021 update due to a change to the NetSuite APIs that are used by Microsoft to provision users into NetSuite. This update will reach NetSuite customers between February and April of 2021. As a result of this, the provisioning functionality of the NetSuite application in the Azure Active Directory Enterprise App Gallery will be removed soon. The application's SSO functionality will remain intact. Microsoft is working with NetSuite to build a new modernized provisioning integration, but there is currently no ETA on when this will be completed.


The scenario outlined in this tutorial assumes that you already have the following items:

  • An Azure Active directory tenant.
  • A NetSuite OneWorld subscription. Note that automatic user provisioning is presently only supported with NetSuite OneWorld.
  • A user account in Netsuite with administrator permissions.
  • Integration with Azure AD requires a 2FA exemption. Please contact NetSuite's support team to request this exemption.

Assigning users to NetSuite OneWorld

Azure Active Directory uses a concept called "assignments" to determine which users should receive access to selected apps. In the context of automatic user account provisioning, only the users and groups that have been "assigned" to an application in Azure AD are synchronized.

Before configuring and enabling the provisioning service, you need to decide what users and/or groups in Azure AD represent the users who need access to your NetSuite app. Once decided, you can assign these users to your NetSuite app by following the instructions here:

Assign a user or group to an enterprise app

Important tips for assigning users to NetSuite OneWorld

  • It is recommended that a single Azure AD user is assigned to NetSuite to test the provisioning configuration. Additional users and/or groups may be assigned later.

  • When assigning a user to NetSuite, you must select a valid user role. The "Default Access" role does not work for provisioning.

Enable User Provisioning

This section guides you through connecting your Azure AD to NetSuite's user account provisioning API, and configuring the provisioning service to create, update, and disable assigned user accounts in NetSuite based on user and group assignment in Azure AD.


You may also choose to enabled SAML-based Single Sign-On for NetSuite, following the instructions provided in Azure portal. Single sign-on can be configured independently of automatic provisioning, though these two features compliment each other.

To configure user account provisioning:

The objective of this section is to outline how to enable user provisioning of Active Directory user accounts to NetSuite.

  1. In the Azure portal, browse to the Azure Active Directory > Enterprise Apps > All applications section.

  2. If you have already configured NetSuite for single sign-on, search for your instance of NetSuite using the search field. Otherwise, select Add and search for NetSuite in the application gallery. Select NetSuite from the search results, and add it to your list of applications.

  3. Select your instance of NetSuite, then select the Provisioning tab.

  4. Set the Provisioning Mode to Automatic.

    Screenshot shows the NetSuite Provisioning page, with Provisioning Mode set to Automatic and other values you can set.

  5. Under the Admin Credentials section, provide the following configuration settings:

    a. In the Admin User Name textbox, type a NetSuite account name that has the System Administrator profile in NetSuite.com assigned.

    b. In the Admin Password textbox, type the password for this account.

  6. In the Azure portal, click Test Connection to ensure Azure AD can connect to your NetSuite app.

  7. In the Notification Email field, enter the email address of a person or group who should receive provisioning error notifications, and check the checkbox.

  8. Click Save.

  9. Under the Mappings section, select Synchronize Azure Active Directory Users to NetSuite.

  10. In the Attribute Mappings section, review the user attributes that are synchronized from Azure AD to NetSuite. Note that the attributes selected as Matching properties are used to match the user accounts in NetSuite for update operations. Select the Save button to commit any changes.

  11. To enable the Azure AD provisioning service for NetSuite, change the Provisioning Status to On in the Settings section

  12. Click Save.

It starts the initial synchronization of any users and/or groups assigned to NetSuite in the Users and Groups section. Note that the initial sync takes longer to perform than subsequent syncs, which occur approximately every 40 minutes as long as the service is running. You can use the Synchronization Details section to monitor progress and follow links to provisioning activity logs, which describe all actions performed by the provisioning service on your NetSuite app.

For more information on how to read the Azure AD provisioning logs, see Reporting on automatic user account provisioning.

Additional resources