Hi @Omar Farooq ,
Thank you for submitting your question on Microsoft Q&A.
It sounds like you're running into some issues while trying to set up a PHP CMS application on Azure. Specifically, the error that you're encountering suggests that there might be a problem with the JSON format in your deployment request. Here’s a quick rundown of what you can try
Check the Request Format: The error message indicates that Azure can't parse the request due to an InvalidRequestFormat. Double-check the JSON you're using to create the resources, particularly looking for any issues with the 'tags' section. Ensure your JSON follows the expected structure.
Resource Availability: If you're trying to create a Web App with a database and receiving errors, it may help to create them separately as a workaround. For instance, you could:
Create a Static Web App separately if that aligns with what you need. Set up a MySQL database instance separately through the Azure portal.
Free Tier Considerations: Make sure that you're selecting services that are available under the free tier. Not all services may be available, even if you have credits. Check Azure product availability for more details on limits for free accounts.
Error Specifics: The error message explicitly mentions "Could not find member 'tags' on object of type 'Subnet'." This could indicate that either you haven't defined the subnet correctly or there's something off in your configuration.
Review your resource configuration to see if you're attempting to add unsupported attributes to the subnet resource.
Reference:
https://azure.github.io/AppService/2016/09/14/PHP-troubleshooting-guide-for-common-errors.html
Kindly let us know if the above comment helps or you need further assistance on this issue.
Please "upvote" if the information helped you. This will help us and others in the community as well.