Azure-Samples / modern-data-warehouse-dataops

DataOps for Microsoft Data Platform technologies. https://aka.ms/dataops-repo
MIT License
591 stars 463 forks source link

AZ Logins attached to multiple Tenants tries to authenticate to all. #685

Open bsherwin opened 8 months ago

bsherwin commented 8 months ago

Consider adding AD Tenant to environment vars and doing az login --tenant TENANT_ID to explicitly login to a tenant.

DOD

ydaponte commented 4 weeks ago

@bsherwin - is this issue a duplication of this one: https://github.com/orgs/Azure-Samples/projects/66/views/1?pane=issue&itemId=81998304&issue=Azure-Samples%7Cmodern-data-warehouse-dataops%7C642 ?

bsherwin commented 4 weeks ago

@ydaponte No, I don't think so. I think this issue is about being sure we are using a specific subscription. I think 642 is about how the scope is being interpreted (incorrectly interpreting scope as path relative from the shell).

bsherwin commented 2 weeks ago

@ydaponte Since this involves making an effort to synchronize the way we do az login throughout the samples, I think we should wait until the other project completes their "epic" PR.

bsherwin commented 6 days ago

Handing off to @thesqlpro (Ayman)