To enable ZENworks to apply the protection policies, you need to first configure Microsoft Graph API, which acts as a gateway to Microsoft Azure services. Microsoft exposes Azure services through REST endpoints. Using this REST endpoint, ZENworks can send requests to Azure to perform specific operations related to Intune App Management.
To configure Microsoft Graph API in ZENworks, you need to navigate to> > . On the page, you need to perform the following tasks to configure Microsoft Graph API:
Registering an application: Register your app to obtain an application ID along with other relevant data required to authenticate to Azure Active Directory. A registered application is unique to a tenant. By registering an app, ZENworks can authenticate to Azure Active Directory to obtain an access token required to manage Intune apps related to your tenant. For more information on tenant, see the Microsoft Documentation.
Generating an access token: Generate an access token using the details obtained while registering your app. Using this token, ZENworks can make REST calls with Microsoft Graph, which in turn validates the entity (in this case ZENworks) and ensures that ZENworks has the relevant permissions to perform the requested operations.
Associating users: Associate the user contexts (that contains one or more user groups) within ZENworks that should be a part of this configuration. ZENworks can apply protection policies to only those user groups that are part of the associated user context.
NOTE:When you choose to manage Intune Apps using ZENworks, it is recommended to use only ZENWorks to perform any further management operations. Any edits made to the Intune App Protection policy directly in the Azure portal, will not be synced back to ZENworks. Also, these modifications might be overwritten, when the policy is re-published in ZENworks.
To register your application with the Microsoft App Registration Portal:
Navigate to> >
Clickto copy the callback URL of the ZENworks server with which Microsoft Graph API is being configured. You need to specify this URL in the Microsoft portal.
Click the Microsoft Application Registration portal link to register your app.
Sign in to the registration portal using your Microsoft account.
Clickon the top right hand corner on the page.
Specify the application name (example: ZENworks) and click. The properties of your app are displayed.
Clickand select .
Paste the callback URL that you had copied earlier, in thefield.
Copy the application ID, which is the unique identifier for your app. This Application ID is required to generate an access token in ZCC.
In the Application Secrets section, click. Copy the password, which will be used to generate an access token in ZCC.
In ZCC, navigate to> >
Specify theand the that you had copied from the Microsoft Application Registration portal. Click
You will be navigated to the Microsoft portal where you need to sign in using the same credentials that were used to register the app. After signing-in, accept the requested permissions. After generating the token, you will be redirected to ZCC and the token details will be populated.
After the token is generated, you can perform the following tasks, whenever required.
Test token: You need to perform this task if you want to validate the token and ensure that it is active.
Renew Token: You need to perform this task when any of the Intune app management related operations fail due to token expiry.
NOTE:If the tenant ID in the renewed token is different from the tenant ID used in the existing configuration, then all the associated policies in ZENworks will become ineffective. However, the policy will be retained both in ZENworks and Azure. You can continue to create new policies using the new tenant ID. However, if you want to remove the existing policies in ZENworks and in Azure, then you need to remove the Microsoft Graph API configuration and re-configure it by generating the token with the new tenant ID.
Remove Configuration: If you remove this configuration, the associated user contexts and all existing app protection policies are removed from ZENworks and Azure.
You can associate one or more user contexts with this configuration. You need to ensure that these selected user contexts are synced with Azure Active Directory. The Intune app management operations can only be performed on the user groups present in the selected user context:
Select the user context and then click.
After configuring Microsoft Graph API, clickto save the updated configuration.