title: ResourcePurchaseValidationFailed when creating a VM via Azure RM REST API
body: <p>Hi am trying to create a VM using Azure RM REST APIs, but It gives the following error code </p>
  
  <pre><code>"error": {
      "code": "ResourcePurchaseValidationFailed",
      "message": "User failed validation to purchase resources. Error message: 'Offer with PublisherId: Microsoft and OfferId: Windows Server 2008 R2 SP1 not found in Azure Data Market. If this offer has been created recently, please allow upto 30 minutes for this offer to be available for Purchase.'"
    }
  }
  </code></pre>
  
  <p>Has anyone ever faced such kind of problem?</p>
  
  <p>As I understood it is related with PublisherId &amp; OfferId in Azure Data Market.
  Please help me how can I get this PublisherId &amp; OfferId from Azure Data Market for my subscription.</p>