Find the created by and created date for an azure object

Raouf, Sa'ad 26 Reputation points
2021-02-12T17:15:07.593+00:00

After a lot of research, it does not appear that we can determine who and when an azure object was created. All of the answers given so far have pointed me to look at the Azure Logs. However, the Azure logs only go back 90 days, so that is not helpful. Need to be able to determine the created by and created date for an Azure object, and the log does not provide that information, since the logs only go back 90 days.

Thank you

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,941 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Fabien Arnaud (ADM) 21 Reputation points
    2022-09-22T13:30:53.933+00:00

    For the created date, you can use the Resource Explorer.
    From the Azure Portal, type "Resource Explorer" in the search box, then within your subscription, expand the resource group and locate your resource.
    Click on it to display its details, among which are the created time and changed time.

    4 people found this answer helpful.

  2. VaibhavPandey 21 Reputation points
    2021-02-13T21:59:23.79+00:00

    Hi Saad,

    I assume you mean Azure resource when you say Azure object. Can you check your Resource Group --> Deplpoyment and review them. They should have all the deployments and dates when they were created. Also have you tried using Azure Cli to query your resources? CLI Commands should you give you entire dump of resource as a JSON. Some of the commands may not give you details e.g. VM. But you can query creation date for the associated disc to get a indicative date.

    Hope this helps.

    2 people found this answer helpful.

  3. SwathiDhanwada-MSFT 18,301 Reputation points
    2021-02-16T07:20:25.25+00:00

    @Raouf, Sa'ad Here is a blog where relevant information to your question is documented. Kindly go through the article. Also, there are few feedbacks were provided by the community to Microsoft for implementing this feature. I also would recommend you to share your feedback or suggestions directly with the responsible Azure feature team and clicking the vote button of your suggestion to raise visibility and priority on it.

    Here are feedback suggestions made by the community.

    Also, as per this feedback, kindly note that the creation of metadata for new resources and modification metadata for existing resources is currently ongoing, but work is required by each resource provider. If you have certain resource types that you wish to be prioritized, please create requests on the feedback pages for respective services.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    2 people found this answer helpful.

  4. David Lira 6 Reputation points
    2021-09-15T03:54:00.887+00:00

    @Oleg Deribas
    So the past 2 days I've been looking for the creation data of an AKS cluster.
    I knew that the VM creation date could be determined by looking at the disk associated with the VM,
    therefore I thought about looking for the disks associated with the AKS cluster to determine the creation date.

    No luck. I could not find any disk resources or virtual machines resources associated with the cluster when using the Python SDK or REST API.

    Eventually I found these docs that gave me the clue I needed:
    https://learn.microsoft.com/en-us/rest/api/resources/resources/list
    https://learn.microsoft.com/en-us/rest/api/resources/resources/list-by-resource-group

    In there you will see the parameter called $expand which can be given the property of createdTime.
    Adding this to the GET request will give you a list of resources with each having a createdTime property.
    Thus I was able to determine when an AKS cluster was created.

    Now, the next thing I am on the hunt for is determining who created a specific resource.

    1 person found this answer helpful.

  5. Frederic 35 Reputation points
    2023-09-28T09:56:03.3233333+00:00

    For some resources you can see the creation data when you open the json view

    1 person found this answer helpful.
    0 comments No comments