Azure Disk Scanner is a python program written to help query enterprise scale Azure estates.
The program scans across all subscriptions in your estate and pulls out managed disks that are currently in an unattached state. The program has also been extended to use the ado_manager class which automates the Azure DevOps ticket creation of these resources so you are able to keep track of remediation items in your change management schedule.
Use the package manager pip to install all dependecies. Just run the following command in the route directory of the program:
pip install -r requirements.txt
First ensure all python files have the executable privalege in your console and the simply start the program by running the following command and passing in the required variables.
python ./main.py