Login to Azure Germany fails
See original GitHub issueHi,
I’m evaluating Azure’s new german “Azure Deutschland” offering - the one where Telekom acts as a data privacy trustee.
I’ve tried logging in via az login -u mylogin@mytenant.onmicrosoft.de
, here is the result of a run with --debug
:
$ az login -u mylogin@mytenant.onmicrosoft.de
Command arguments ['login', '-u', 'mylogin@mytenant.onmicrosoft.de']
Loading all installed modules as module with name 'login' not found.
Installed command modules ['acs', 'appservice', 'batch', 'cloud', 'component', 'configure', 'container', 'documentdb', 'feedback', 'iot', 'keyvault', 'network', 'profile', 'redis', 'resource', 'role', 'sql', 'storage', 'vm']
Current active cloud 'AzureCloud'
{'active_directory': 'https://login.microsoftonline.com',
'active_directory_graph_resource_id': 'https://graph.windows.net/',
'active_directory_resource_id': 'https://management.core.windows.net/',
'batch_resource_id': 'https://batch.core.windows.net/',
'gallery': 'https://gallery.azure.com/',
'management': 'https://management.core.windows.net/',
'resource_manager': 'https://management.azure.com/',
'sql_management': 'https://management.core.windows.net:8443/'}
{'azure_datalake_analytics_catalog_and_job_endpoint': 'azuredatalakeanalytics.net',
'azure_datalake_store_file_system_endpoint': 'azuredatalakestore.net',
'keyvault_dns': '.vault.azure.net',
'sql_server_hostname': '.database.windows.net',
'storage_endpoint': 'core.windows.net'}
Registered application event handler 'CommandTableParams.Loaded' at <function add_id_parameters at 0x108cd7398>
Registered application event handler 'CommandTable.Loaded' at <function add_id_parameters at 0x108cd7398>
Loaded module 'acs' in 0.908 seconds.
Loaded module 'appservice' in 0.422 seconds.
Loaded module 'batch' in 0.486 seconds.
Loaded module 'cloud' in 0.001 seconds.
Loaded module 'component' in 0.001 seconds.
Loaded module 'configure' in 0.001 seconds.
Loaded module 'container' in 0.001 seconds.
Loaded module 'documentdb' in 0.016 seconds.
Loaded module 'feedback' in 0.001 seconds.
Loaded module 'iot' in 0.057 seconds.
Loaded module 'keyvault' in 0.087 seconds.
Loaded module 'network' in 0.315 seconds.
Loaded module 'profile' in 0.001 seconds.
Loaded module 'redis' in 0.025 seconds.
Loaded module 'resource' in 0.087 seconds.
Loaded module 'role' in 0.002 seconds.
Loaded module 'sql' in 0.050 seconds.
Loaded module 'storage' in 0.075 seconds.
Loaded module 'vm' in 0.006 seconds.
Loaded all modules in 2.539 seconds. (note: there's always an overhead with the first module loaded)
Application event 'CommandTable.Loaded' with event data {'command_table': OrderedDict([('sql db restore-point list', <azure.cli.core.commands.CliCommand object at 0x109883fd0>), ('redis list', <azure.cli.core.commands.CliCommand object at 0x109706450>), ('batch pool autoscale enable', <azure.cli.core.commands.CliCommand object at 0x109201250>), ('batch application create', <azure.cli.core.commands.CliCommand object at 0x1091e18d0>), ('batch job create', <azure.cli.core.commands.CliCommand object at 0x109208150>), ('network application-gateway s [...]
Application event 'CommandParser.Loaded' with event data {'parser': AzCliCommandParser(prog='az', usage=None, description=None, version=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)}
Application event 'CommandTableParams.Loaded' with event data {'command_table': OrderedDict([('sql db restore-point list', <azure.cli.core.commands.CliCommand object at 0x109883fd0>), ('redis list', <azure.cli.core.commands.CliCommand object at 0x109706450>), ('batch pool autoscale enable', <azure.cli.core.commands.CliCommand object at 0x109201250>), ('batch application create', <azure.cli.core.commands.CliCommand object at 0x1091e18d0>), ('batch job create', <azure.cli.core.commands.CliCommand object at 0x109208150>), ('network application-gateway s [...]
Application event 'CommandParser.Parsed' with event data {'args': Namespace(_command_package='login', _jmespath_query=None, _log_verbosity_debug=False, _log_verbosity_verbose=False, _output_format='json', _parser=AzCliCommandParser(prog='az login', usage=None, description='Log in to access Azure subscriptions', version=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True), _validators=[], command='login', func=<function _execute_command at 0x1096cc8c0>, password=None, service_principal=None, tenant=None [...]
Password:
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - Authority:Performing instance discovery: https://login.microsoftonline.com/common
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - Authority:Performing static instance discovery
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - Authority:Authority validated via static instance discovery
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - TokenRequest:Acquiring token with username password.
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - OAuth2Client:finding with query: {"_clientId": "04b07795-8ddb-461a-bbee-02f9e1bf7b46", "userId": "mylogin@mytenant.onmicrosoft.de"}
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - OAuth2Client:Looking for potential cache entries:
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - OAuth2Client:{"_clientId": "04b07795-8ddb-461a-bbee-02f9e1bf7b46", "userId": "mylogin@mytenant.onmicrosoft.de"}
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - OAuth2Client:Found 0 potential entries.
adal-python : d0f1cd4e-cd00-4687-8646-24321857d63f - UserRealm:Performing user realm discovery at: https://login.microsoftonline.com/common/UserRealm/mylogin%40mytenant.onmicrosoft.de?api-version=1.0
requests.packages.urllib3.connectionpool : Starting new HTTPS connection (1): login.microsoftonline.com
requests.packages.urllib3.connectionpool : https://login.microsoftonline.com:443 "GET /common/UserRealm/mylogin%40mytenant.onmicrosoft.de?api-version=1.0 HTTP/1.1" 400 0
User Realm Discovery request returned http error: 400
Can someone help out?
Thx in advance & cheers.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Azure status
Products and services *Non‑Regional East US East US 2 Central US No...
Azure VMware Solution by CloudSimple Blank Good Blank Blank Bl...
Virtual Machines Blank...
Read more >Microsoft Azure Down? Current status overview - Downdetector
Microsoft Azure outages reported in the last 24 hours. This chart shows a view of problem reports submitted in the past 24 hours...
Read more >Microsoft Account Azure Login Problem Resolved - Ardalis
In November 2022, I started having problems logging into the Azure portal with my Microsoft Account that I've had for years, ...
Read more >Azure AD Connect Health Agent Error - Azure Germany - MSDN
I ran Register-AzureADConnectHealthSyncAgent -attributefilter $false -stagingmode $false with no success. Register-AzureADConnectHealthSyncAgent ...
Read more >Azure Support Options
Learn about the types of Microsoft Azure support resources that are available to you. View Azure support plans and options to get started...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you need to run
az cloud set --name AzureGermanCloud
firstlet us punt this till we have more up-votes on this