Comments (12)
but you write "-DeviceAuthentication" in the command line not "-DeviceLogin" 😄
from ari.
Worked perfectly! Keep up the good work, this is an awesome tool 😊
from ari.
Hi @eriwol
that's odd, can you run the script adding the -Debug parameter and posting the output messages before and after the error?
Thanks
from ari.
Hi, thank you:
This worked flawlessly until today, perhaps updating some modules caused this? I will also try running the script from another server today if I get the time.
Finishes with login box open wihich is unresponsive:
from ari.
Hi @eriwol
That's interesting. What parameters are you using? -IncludeTags or -ResourceGroups?
Did you download the full repository or just the main script?
Thanks
from ari.
Hi,
Just the main script with these parameters:
.\AzureResourceInventory.ps1 -TenantID xxxxxx -Online -ReportDir "C:\AzureResourceInventory-report\NCA" -SecurityCenter -DiagramFullEnvironment -IncludeTags
Tried a new setup on a new server 2022 with same behaviour:
First run:
Could it be some az cli modules has changed or is it my setup?
from ari.
I'm experiencing the same error message with it prompting with az login
and pops up with a dialog window to select the relevant Azure account to use, it then hangs at this point.
It seems to work by authenticating with the -DeviceLogin
option.
from ari.
Hi @eriwol
az cli changed the way it authenticate (by providing a pop-up windows)
I have updated the az cli to be in the exact same version you have, but I'm not having this issue:
I have also used the exact same parameters.
One thing I noticed is that your authentication prompt does not have the accounts cached:
As @sbirdi mentioned, can you try using the -DeviceAuthentication ?
from ari.
Should this be on the commandline like this or in the ARI script itself? Tried the below but with same error.
.\AzureResourceInventory.ps1 -TenantID xxxxx -DeviceAuthentication -Online -ReportDir "C:\AzureResourceInventory-report" -Diagram -IncludeTags
from ari.
Its a parameter: "-DeviceLogin"
run like that:
.\AzureResourceInventory.ps1 -TenantID xxxxx -DeviceLogin -Online -ReportDir "C:\AzureResourceInventory-report" -Diagram -IncludeTags
It will ask you to authenticate in a different manner.
from ari.
See above, that's what I tried 😊, made no difference for me.
from ari.
Oh no sorry, how did I manage that?, 🙃 Will try again with the correct parameter this time (and clean my glasses)
from ari.
Related Issues (20)
- AzureResourceInventory.ps1 has command that causes issues HOT 3
- Header/Footer Setup for DrawIO Output HOT 3
- Getting an error when executing this xml file for diagram HOT 2
- Report - Overview tab mostly blank - "pivottable report can't overlap a table" HOT 5
- I would like to add azure inventory Services Azure Database for PostgreSQL flexible servers. HOT 5
- NIC Info HOT 1
- Azure Backup and Replication HOT 1
- Security center HOT 1
- SQL DB HOT 2
- Unused Resource or Orphange Resouce details. HOT 2
- Create a Visio Diagram option (-Diagram) HOT 2
- Release for version 3.1.16 HOT 1
- Command Line Is Too Long HOT 17
- -SubscriptionID parameter is not used HOT 4
- Subscription filter only applies partially HOT 2
- Help add Modules services HOT 1
- ResponsePayloadTooLarge HOT 19
- AppGw HOT 30
- Skip Token Issue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ari.