I want to get the user details who are all downloading my azure python package which I am publishing internally to an organization. Is there any way to get the user details?

sakthi rajasekar 0 Reputation points
2023-05-03T15:14:17.7233333+00:00

I have created and published a python package in Azure arttifact to my organization. I want to track the user details who are downloading the package. Is there any way to get the user details or any python code that i can add to my setup.py file?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,455 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,137 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 13,046 Reputation points
    2023-05-03T18:11:41.98+00:00

    @sakthi rajasekar - Welcome to Microsoft Q&A and thanks for reaching out.

    Azure Artifacts does not provide a built-in feature to track user details who are downloading the package.

    However, you can use Azure DevOps Analytics to track package downloads. Azure DevOps Analytics provides a set of pre-built reports and dashboards that you can use to analyze data from Azure DevOps.

    To track package downloads, you can use the "Package Downloads" report in Azure DevOps Analytics. This report shows the number of package downloads over time and allows you to filter by package name, feed name, and user. You can also export the data to Excel or Power BI for further analysis.

    To use Azure DevOps Analytics, you need to have the appropriate permissions. You can learn more about permissions in Azure DevOps here: https://docs.microsoft.com/en-us/azure/devops/organizations/security/permissions?view=azure-devops

    To learn more about Azure DevOps Analytics and how to use the "Package Downloads" report, please look at the documentation: https://docs.microsoft.com/en-us/azure/devops/report/analytics/package-downloads-overview?view=azure-devops

    Hope this helps. and please feel free to reach out if you have any further questions.


    If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.