nerdexam
Microsoft

AZ-104 · Question #16

You recently created a new Azure subscription that contains a user named Admin1. Admin1 attempts to deploy an Azure Marketplace resource by using an Azure Resource Manager template. Admin1 deploys the

Sign in or unlock AZ-104 to reveal the answer and full explanation for question #16. The question stem and answer options stay visible for context.

Submitted by saadiq_pk· Mar 4, 2026Deploy and manage Azure compute resources

Question

You recently created a new Azure subscription that contains a user named Admin1. Admin1 attempts to deploy an Azure Marketplace resource by using an Azure Resource Manager template. Admin1 deploys the template by using Azure PowerShell and receives the following error message: "User failed validation to purchase resources. Error message: "Legal terms have not been accepted for this item on this subscription. To accept legal terms, please go to the Azure for the Marketplace item or create it there for the first time." You need to ensure that Admin1 can deploy the Marketplace resource successfully. What should you do?

Options

  • AFrom Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
  • BFrom the Azure portal, register the Microsoft.Marketplace resource provider
  • CFrom Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
  • DFrom the Azure portal, assign the Billing administrator role to Admin1

Unlock AZ-104 to see the answer

You've previewed enough free AZ-104 questions. Unlock AZ-104 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full AZ-104 Practice