To connect with Azure Stack we need to create a new active directory application registration in public Azure portal and assign it the Contributor role in the Azure Stack portal . The information we need in order to connect with Bunnyshell is:
Azure Resource Management Endpoint
Create an Application Registration in public Azure Portal
Go to Azure Active Directory -> App registrations -> New (application) registration
Enter the following configuration and click Create
Name : Bunnyshell
Supported account types: Single tenant
Redirect URI : web / https://cloud.bunnyshell.com
Click register and copy the Application (client) ID and the Directory (tenant) ID.
In this page go to Certificates and Secrets and press New client secret and enter the values for a new key:
Expires: never expires
The Value field will be displayed after saving the new key
Copy the Application Key. The key will be displayed only once under "VALUE" so please make sure to copy it to a safe location.
2. Give the Contributor role for the newly created application registration - in Azure Stack portal
Go to All services -> Subscriptions and click on your subscription.
Copy the Subscription ID
On this page go to Access Control (IAM) and click + Add
Enter the Role: Contributor
At the select field input the Application ID from step 1.
Click on your application registration and than Save
3. At this point you should have an application ID and key, the directory and subscription ID.
The Azure Resource Management Endpoint should be given to you by your Azure Stack provider.
It should look something like https://management.<azure-stack-name>.com
4. Enter the credentials in the Bunnyshell interface:
From the main page, go to the cloud icon on the top right side and hit :
Go to the Azure Stack tab and introduce the 5 credentials in their respective fields then hit Connect Azure Stack Account.