none
Code="MissingSubscription" Message="The request did not have a subscription or a valid tenant level resource provider." RRS feed

  • Question

  • Hi 

    I'm trying to apply the Azurerm_policy_assignment using Terraform. Even though I have owner permissions, i'm unable to apply the policy assignment.

    The following is the error I'm getting while applying 

    policy.AssignmentsClient#Create: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="MissingSubscription" Message="The request did not have a subscription or a valid tenant level resource provider."

    Please help in resolving the issue.

    Thanks

    Thursday, September 5, 2019 8:04 AM

All replies

  • Can you please provide the steps your following along with the code snippet to better assist you on this error.

    Thursday, September 5, 2019 6:40 PM
    Moderator
  • I am following up on the thread for any updates ?
    Kindly provide the steps you are following as Saurabh requested.
    Thursday, September 19, 2019 9:01 AM
    Moderator