Azure Resources Created Date /Azure app Service Created Date


Azure app Service Created Date

Azure Resources Created Date


Issue:
·       Get the list of resource with created date
·       Web App Created date
·       How can I know when my web app is created?

Solution:
It is not possible to get the web app created date directly.

You can check relevant details on Activity Logs.

Through activity logs, you can determine:

·       What operations were taken on the resources in your subscription
·       Who started the operation?
·       When the operation occurred
·       The status of the operation
·       The values of other properties that might help you research the operation

I just created one web app and able to see the activity logs. You can also check who created it in “Event Initiated By” columns

Azure Resources Created Date



But Activity log has limitation as it retained logs only for 90 days. You can query for any range of dates, as long as the starting date is not more than 90 days in the past.

You can get more information in below URL,

I have investigated and observed that there is no REST API exposed for the web app’s created date property hence we have to think about the alternative way to achieve this.
And one of the most important feature which can help us here is the “TAGS
TAGS are used to organize your azure resources.
You apply tags to your Azure resources giving metadata to logically organize them into a taxonomy. Each tag consists of a name and a value pair.
For example, you can apply the name "Environment" and the value "Production" to all the resources in production similarly you can have “CREATED DATE” tag with the date value.
After you apply tags, you can retrieve all the resources in your subscription with that tag name and value. Tags enable you to retrieve related resources from different resource groups. This approach is helpful when you need to organize resources for billing or management.

You can get more details on below URL,


Once you create tags for “created date” than you can get the list of all your web app/App Services along with the created date.

You can go to your subscription -> resources -> Edit Columns
You can see the  filter name “Tags”



Once you select the Tags and move it to right section then then tag column appear in the filter and you can see the list of all web app along with “created tag” value.



I understand that it is not possible to add tag every time when someone create a web app hence you can use Azure Policy to enforce tagging rules and conventions. By creating a policy, you avoid the scenario of resources being deployed to your subscription that don't comply with the expected tags for your organization. Instead of manually applying tags or searching for resources that aren't compliant, you can create a policy that automatically applies the needed tags during deployment. The following section shows example policies for tags.

You can get more details on below URL,

You can simply apply tag and it’s default value.



References: 


Azure web app Multiple FTP Users

Azure web app Multiple FTP Users



I noticed many users want to have Multiple FTP users for Azure App Services.

Azure web app provide 2 types of deployment credentials,
  • User Level
  • App Level
User level credentials are for entire Azure account which can be used to deploy to any web app for the subscription,

while App Level credentials are particular web app specific and can't be used with any other web app. App Level credentials are generate automatically at app creation. Users can’t control this manually.

Now question is, where can I check these credentials and answer is simple,
Go to “deployment center” blade and click on FTP.


Once you click on “dashboard” button, a new pop up window will appear with App and user level credentials.



You can see that App level credentials can only be reset but you don’t have control to define the username or password here.


You can control user level credentials. Here we have one catch; you can have only one FTP user level credential. You can’t have multiple FTP user level credentials.

Get more details on below URL,


It seems Azure doesn't support multiple FTP users for web app. You can get more details on below URL

You can also share your feedback on that and maybe they can consider this request in the future.

For more information about azure app service FTP troubleshooting please visit,

https://azureappservices.blogspot.com/2020/02/everything-about-azure-app-service-ftp.html


Other useful references,

Issue: Azure function is throwing one of the following exceptions
·       Unable to retrieve Functions Keys
·       We are not able to retrieve the keys for function
·       The function runtime is unable to start.
·       Function host is not running.
·       Internal Server error.
·       Service Unavailable.


Issue: Azure Functions: The Consumption pricing tier is not allowed in this resource group



Issue: Disable Azure functions