A new subscription user (Admin1) fails to deploy an Azure Marketplace item via an ARM template with the error that legal terms have not been accepted. What should you do to allow programmatic deployment of that Marketplace item?
Choose an answer
Tap an option to check your answer.
Correct answer: Run Set-AzMarketplaceTerms in Azure PowerShell..
Why this is the answer
The correct answer is Set-AzMarketplaceTerms. This cmdlet allows you to accept the legal terms for a specific Azure Marketplace item programmatically, which is a prerequisite for deploying certain Marketplace solutions via ARM templates or other automated methods. Until these terms are accepted, deployments will fail with an error indicating unaccepted legal terms. Set-AzApiManagementSubscription is incorrect because it relates to managing API Management subscriptions, not accepting Marketplace terms. Registering the Microsoft.Marketplace resource provider is generally a good practice for Marketplace operations, but it doesn't directly address the specific error of unaccepted legal terms. Assigning the Billing administrator role to Admin1 is incorrect as it deals with billing permissions, not the acceptance of legal terms for Marketplace items.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed