Managed Application ARM template AI Cognitive services, Language services

Tony Thai Do 0 Reputation points
2023-12-08T18:15:50.3766667+00:00

Hi, I have ARM template of managed application in service catalog that works in subscription.

When deploying the preview version of the managed application on test customer subscription.
I get deployment error such as Responsible AI was not accepted or Cognitive Services Resource provider was not added to subscription.
I use CognitiveServices - Computer Vision and Language Service.

How do we effectively add these into the ARM template so the customer will not have to go through these errors or click around?

Thanks!

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
148 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,901 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 26,186 Reputation points
    2023-12-09T16:51:11.2466667+00:00

    You can use the Microsoft.Authorization/roleAssignments resource type to assign the necessary role to the principal deploying the template. This role should have permissions to register resource providers.

    If your service requires acceptance of specific legal terms (such as for Responsible AI), this usually needs to be done manually in the Azure portal. However, for a smoother deployment experience, you might want to include instructions or a script as part of your Managed Application package to guide the customer through this process.

    Make sure that the dependencies within your template are correctly defined. If certain resources depend on the availability of others (like network resources), these dependencies should be explicitly stated in the template.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.