Azure / Azure/azure-powershell

[Feature]: Check for presence of AzureRM on load of Az.Accounts

Open
#21,500 0 comments 0 reactions 0 assignees View on GitHub
feature-request Tracking
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description of the new feature

When importing Az.Account, can we detect if any of the AzureRM modules are already installed and through an actionable error message with a pointer to docs how to handle the situation?

### Proposed implementation details (optional)

We could use "ScriptsToProcess" on Az.Accounts to perform this validation.
cc: @mikefrobbins

Contributor guide

Open the contributing guide

Research direction

Start at the Az.Accounts import path and inspect how its ScriptsToProcess mechanism could perform the requested validation. Reproduce the case where AzureRM modules are installed, then verify that importing Az.Accounts produces an actionable error with a documentation pointer.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, powershell
Domain
cloud, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.