Login in to your Azure portal and Click >> + new resource and Select >> Blockchain and Click >> Azure Blockchain workbench (Preview).
The following next step is to provide the basic requirements so that blockchain workbench can be created.
Provide a Resource prefix name & provide a VM user name.
Select >> Authentication type to Password and provide a password to the VM user name.
After that provide a database and blockchain password and Select >> OK.
Proceed to the next step. In advanced settings, leave the values to be the default. If required, you can change the worknode VM size as per your desire and Click >> Ok.
Step 4
The Next step is to check on the summary and finally, Click >> create, then the deployment process will take place. Make sure you have time since you have to wait more than 1 hour (90 mins). After that, the deployment process will be successful.
Once the deployment process is successful, the resource group will contain the blockchain resources. Basically, the workbench will be accessed using the web URL for that
Switch to the create a resource group and you can see the resources with app service and we need to select >> App service without the -API suffix.
Step 5
From the app service, we have created will contain the deployed workbench, copy the URL and paste it in a new tab so that we can be able to see the created workbench with the default domain name.
Step 6
The next step is to register the Blockchain API app registration, for that Switchback to Azure Active Directory and Select App registration and Select >> New registration.
Provide a name for it and Select >> Accounts in this organization only (Default directory only- single-tenant) and Select >> Register.
Step 7
The next step is to manifest the application roles with the Azure Active Directory for specifying the blockchain workbench administrators. For that generate a GUID for the manifest by Selecting >> Manifest in the manage section and update the appRoles section with the following code and change the Oauth2AllowImplicitFlow value to true.
Update the following code in the approles section.
- "appRoles": [
- {
- "allowedMemberTypes": [
- "User",
- "Application"
- ],
- "displayName": "Administrator",
- "id": "<A unique GUID>",
- "isEnabled": true,
- "description": "Blockchain Workbench administrator role allows creation of applications, user to role assignments, etc.",
- "value": "Administrator"
- }
- ],
The final step is to save the manifest and for that Select >> save to save the manifest changes.
I hope this article, will be useful for you and if you have any queries comment below and thanks for reading.