Comments (9)
We need more info to debug your Microsoft Entra ID issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.
- In the settings menu, find the setting titled
Azure: Logging Level
and select theVerbose
option - Restart Azure Data Studio
- Run the process that produces your error
- Open command palette (Click View -> Command Palette)
- Run the command:
Developer: Open Logs Folder
- Follow this path to find the Azure Accounts log file:
[default log folder]/window1/exthost/output_logging_[earliest timestamp]/#-Azure Accounts.log
- Please attach the Azure-Accounts.log file to the issue.
Additionally, please review known issues and their resolutions that could be helpful: Common Azure Authentication Issues
from azuredatastudio.
As requested - file is attached.
from azuredatastudio.
it seems the request is going invalid for this case, even though it works in most cases. I will add more logging so we can understand better what is going wrong.
from azuredatastudio.
it seems the request is going invalid for this case, even though it works in most cases. I will add more logging so we can understand better what is going wrong.
I'm a rather new user to ADS, but if it is supposed to be similar to VS Code, I don't have any issues logging in to my account in VS Code. Not sure if that's helpful, but figured I'd mention. And I tried using the Auth code grant flow and get the same error.
from azuredatastudio.
We've got people running into this as well and it's hindering progress on some key initiatives.
Is there a feature branch anywhere that's got that aforementioned extra logging that we could use to build and run locally to try to get to the source of the error? We've had our AAD admins check on the AAD side and everything looks correct and successful there, but on the Data Studio client side the underlying Type Error that's occurring due to this 👇 call site:
is completely swallowing whatever the underlying issue is because the call arg is clearly not an object the in
operator can be used against
from azuredatastudio.
There hasn't been any churn in this area recently, the request made to acquire tenants itself is failing, which is surprising.
Can you enable PII logging using below setting, restart ADS and rerun the failing scenario. You can find logs in "Azure Accounts" Output pane or in the log file as per above comment, something like under.
[Verbose]: Fetching tenants with uri: https://management.azure.com/tenants?api-version=2019-11-01 - []
[Pii]: GET request response=<<<this is where you will find detailed error information>>>
Just paste the error from the response above, you need not share the complete log file. Please mask any sensitive info and paste detailed error as available.
We will address the 'in' operator bug in future iterations.
from azuredatastudio.
We've got an open Service Request with Microsoft. Would it be better for us to share masked content here in public or the full log in private on the request?
from azuredatastudio.
The details we have from the PII log are below. They do not strike me as particularly illuminating but hopefully it offers something meaningful to you 🤷
The response is an object with a set of single digit stringified keys, each of which has a single character string as the value.
There's no data
key
[Pii]: GET request response={"0":"B","1":"a","2":"d","3":" ", ...elided... } - ["https://management.azure.com/tenants?api-version=2019-11-01"]
[Error]: Error fetching tenants :TypeError: Cannot use 'in' operator to search for 'error' in Bad request - []
[Error]: Login failed: TypeError: Cannot use 'in' operator to search for 'error' in Bad request - []
from azuredatastudio.
Hi. I am experiencing exactly the same problem. Have tried adding/removing proxy but makes no difference. Azure authentication reports success in the browser but then always fails here:
[Verbose]: Fetching tenants with uri: https://management.azure.com/tenants?api-version=2019-11-01 - []
[Error]: Error fetching tenants :TypeError: Cannot use 'in' operator to search for 'error' in
from azuredatastudio.
Related Issues (20)
- Error Accessing 'Keystone-PRD' server with Entra ID
- Multiplying visualized rows when filtering
- Editor Incorrectly Interprets Backslashes As Escape Sequences
- 24-hour time on Azure Data Studio (Terminal Box)
- Failing to get access token when connecting to a Postgres database with Azure Active Directory option
- Resultset JSON viewer bug
- Download links not working HOT 3
- Showing Blank screen after installing azure data studio HOT 1
- API Uri is not working to download insider or stable channel HOT 1
- Kusto Extensions - add Materialized Views and External Tables to the tree
- Feature Request: Show Server Group color in more windows
- intellisense when aliasing a table
- Port SQL Server Import and Export Wizard from SSMS
- Language Service Leaves Connection Open
- VTable integrate with azuredatastudio
- Restoring database in mac m1 Azure data studio for MSSql
- No more umlauts after opening
- When creating a new connection after giving all the details, and when add account section it navigates to a browser to login, once details are given it keeps spinning and never logs in. HOT 1
- Change ADS Update Infra to client side HOT 1
- Stop Azure Data Studio from launching automatically after installation HOT 1
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 azuredatastudio.