...
- In the Microsoft Azure portal, click All Services.
- Search for “Azure Active Directory” and click to open Azure Active Directory.
- Click App Registrations in the left panel.
- In the App registrations panel, either select an existing discovery application or click + New registration to add a new application.
If you are adding a new application, enter the following details to define your application in the Register an application wizard, and then
click then click Register to add the application.:
— Name: Enter the name of your new application.
— Supported account types: Select the account type.
— Redirect URI: Ensure that you use a unique URL for sign-on purposes.
Azure notifies you when the application is successfully created.Note title Note To obtain token information for the endpoints, click the Endpoints icon next to + New registration in the App registration panel. Azure displays the Endpoints page that contains endpoint information for the discovery application. vDiscovery uses the OAUTH OAuth 2.0 TOKEN ENDPOINTtoken endpoint (the second last item on the listv1). Copy the link from the table . You and use this information it to define the vDiscovery endpoint in NIOS. The token corresponds to the Service Endpoint field in NIOS. For more information, refer to the Infoblox NIOS Documentation.
Select and click the application from the list. The Azure portal displays details about your application, such as Display name, Application ID, Directory ID, and Object ID. Click API permissions in the left panel, and then click + Add a permission in the API Permissions panel.
Note title Note Ensure that you copy the Application ID and save this value for future use. This ID is used as the Client ID in your vDiscovery configuration.
In the Request API permissions panel, click APIs my organization uses.
Select Windows Azure Service Management API from the list.
Select Delegated permissions and Access Azure Service Management as organization users (preview) check box, and then click Add permission.
In the left panel, click Certificates & secrets, and then click +New client secret:
— Description: Enter a name or description for the generated key.
— Expires: Select expiry time for the generated key.
— Value: The key will be displayed here after you select the expiry time and save the configuration.Note title Note Copy the key and save it for your vDiscovery jobs. The key corresponds to the Client Secret in NIOS when you configure vDiscovery jobs.
Validate all the configuration and information on this page.
Note title Note The vDiscovery in Azure is performed on the whole subscription, or resource groups linked to the application.
- Subscription: All entities within the subscription will be discovered including the VMs, network interfaces, and VNets.
- Resource group: All entities within the specified resource groups will be discovered including the VMs, network interfaces, and VNets. If the discovery of all entities within a subscription is not desired, additional granularity in vDiscovery can be achieved by individually allotting permissions to a resource group.
- Perform the vDiscovery on Subscription or Resource group linked to your Azure application.
- To perform vDiscovery for resources on Subscription you need to perform the following:
i. Navigate to All services -> Subscriptions.
ii. Click on the name for your subscription.
iii. Click Access control (IAM).
iv. Click Add.
b. To perform vDiscovery for resources on Resource group you need to perform the following:
i. Navigate to All services -> Resource groups.
ii. Click on the name for your Resource groups.
iii. Click Access control (IAM).
iv. Click Add
13. Expand the Role drop-down menu and select Reader.
14. In the Select box, type the name for your registered app, or locate and select it in the Selected members list.
15. Click Save. You have completed the vDiscovery configuration in Azure.
Note | ||
---|---|---|
| ||
If Reader role IAM permission is given just to VMs instead of the Subscription or Resource group on Azure, then vDiscovery will not discover any virtual entities. |
...
- Token Endpoint: This corresponds to the Service Endpoint field in NIOS. vDiscovery uses the OAUTH 2.0 TOKEN ENDPOINT (v1), however, OAUTH 2.0 TOKEN ENDPOINT (v2) is not supported. You can copy this from the Endpoints panel.
- Application ID: This corresponds to the Client ID when you configure end point information in NIOS.
- Key: Copy the key from the Keys panel and use that for the Client Secret field in NIOS.
The following describes the corresponding fields for Azure and NIOS when you configure vDiscovery job properties:
...