Event: Subscription does not exist or incorrect permissions
The following are common issues when working with Azure cloud connections:Cause: Subscription no longer exists
Cause: Subscription no longer exists
Solution: If the subscription no longer exists, the connection can be deleted using the Public Cloud Connection Wizard. See Deleting a Connection.
Cause: Subscription no longer exists, but connection is valid
Cause: Subscription no longer exists, but connection is valid
Solution: If the Subscription no longer exists, but the connection is still valid, you can re-discover and update subscriptions for the existing connection.
- In the Cloud Connection Wizard, click the Click to Refresh Account Connection and Discover Subscriptions button.
- If the credentials are valid, you will be connected and authenticated. Once the account is verified, all subscriptions that are associated with the account or Application ID are listed. Select the subscriptions that you want to include in the audit.
- If the credentials cannot be validated, then review the displayed error message and correct your credentials. It is possible that the user account does not have the required permissions.
- In the Subscriptions In Scope section, the subscription may be removed automatically or may show a “No permission in Azure” message.
- From the Subscriptions In Scope section, if you want to remove existing audited subscriptions, de-select the desired subscriptions and click Save Connection.
- If you want to select additional subscriptions to be audited, select the desired subscriptions and click Save Connection.
- The Subscriptions In Scope list will not be up-to-date if subscriptions in the service account are modified after the last Click to Refresh Account Connection and Discover Subscriptions action.
- If you de-select all subscriptions associated with the Azure connection and try to save the connection, Densify displays a message indicating the connection will be deleted if you save an empty subscription connection.
- Close the Public Cloud Connections wizard.
Cause: Subscription exists, but has incorrect permissions
Cause: Subscription exists, but has incorrect permissions
Solution: Ensure Minimum Permissions are set correctly.
Cause: Subscription exists, but is configured incorrectly
Cause: Subscription exists, but is configured incorrectly
Solution: If the minimum permissions are set correctly, see Microsoft Azure Data Collection Prerequisites for a Service Principal or Microsoft Azure Data Collection Prerequisites to verify the prerequisites are setup correctly.Once the account and credentials have been corrected, verify the connection using the Public Cloud Connection Wizard. See Reviewing a Connection.