Azure / Azure/MachineLearningNotebooks

Way to find out Azure user name using Python SDK

Open
#1,827 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to programatically find out the user name of the Azure account running a script. Use case is to log certain info to user specific directories in default datastore.
I can find the info using Azure CLI, running on a compute instance, e.g.
`az account show` returns a JSON which has `user.name` attribute. Is there any equivalent API in the Python SDK?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.