Hi@akhtar,
You can find the tenant id with the CLI command as shown below.
$ azure login
$ azure account show
info: Executing command account show
data: Name : XXXXXXX
data: ID : XXXXXXXX
data: State : Enabled
data: Tenant ID : XXXXXXXXX
data: Is Default : true
data: Environment : AzureCloud
data: Has Certificate : No
data: Has Access Token : Yes
data: User name : XXXXXXXXX
data:
info: account show command OK
Hope this helps!
Check out azure cloud training to become the master.
Thanks!