Couldn't register application in Azure Active Directory from HCI Admin Cener

SAKTHIMURUGAN ARUMUGAM 66 Reputation points
2021-10-05T17:10:51.21+00:00

Hello ,

We are trying to register to Azure from Admin Center (registration of HCI cluster completed and view it in azure portal) and following https://learn.microsoft.com/en-us/azure-stack/hci/manage/register-windows-admin-center and on step 4 to create an new application registration. When we click the 'Connect' option, we are getting below error

"
Notification details
Error
Couldn't register application in Azure Active Directory

Message
Couldn't register application 'WindowsAdminCenter-https://localhost:6516' in Azure Active Directory. Error: Response status code does not indicate success: 400 (BadRequest)."

Also, the brower setting are update to allow popup windows and added the trusted URLs (https://login.microsoftonline.com, https://login.live.com and https://localhost:6516).

Also on the azure portal, my ID have (GlobalAdmin, Application Admin and Cloud ) admins credentials.

Also, please let us know, if we are missing any permission and what is the correct steps to follow. I'm running the Admin center in the MGMT01 node as documented in the doc.

Can you help us?

Community Center | Not monitored
0 comments No comments
{count} votes

8 answers

Sort by: Most helpful
  1. SAKTHIMURUGAN ARUMUGAM 66 Reputation points
    2021-10-06T16:31:30.027+00:00

    Hello Matt, The MGMT01 has internet connection as I am able to download Chrome and having the required access in AAD. Still facing the same error. /api/attachments/138058-wac-azure-registrationerror.png?platform=QnA

    0 comments No comments

  2. kumar kaushal 176 Reputation points Microsoft Employee
    2021-10-08T22:05:44.38+00:00

    @Trent Helms - MSFT .. i have getting the same error message . And i am the Global admin at my subscription and i just do a Create new at Azure Active directory application .

    In the servermanagement experience logs we see the below

    Log Name: Microsoft-ServerManagementExperience
    Source: SMEGateway
    Date: 10/8/2021 9:57:06 PM
    Event ID: 0
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer:
    Description:
    500 - AdalServiceException: Response status code does not indicate success: 400 (BadRequest).
    Stack trace: at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__181.MoveNext() Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="SMEGateway" /> <EventID Qualifiers="0">0</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2021-10-08T21:57:06.4632077Z" /> <EventRecordID>2911</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Microsoft-ServerManagementExperience</Channel> <Computer></Computer> <Security /> </System> <EventData> <Data>500 - AdalServiceException: Response status code does not indicate success: 400 (BadRequest). Stack trace: at Microsoft.Identity.Core.OAuth2.OAuthClient.&lt;GetResponseAsync&gt;d__181.MoveNext()</Data>
    </EventData>
    </Event>

    0 comments No comments

  3. Juan Esteban Rendon Franco 1 Reputation point
    2022-11-08T14:41:58.947+00:00

    If you are evaluating Azure Stack HCI
    With the guide: https://learn.microsoft.com/en-us/azure-stack/hci/guided-quick-deploy-eval
    and fails, try this similar solution but change the URL

    "replyUrlsWithType": [
    {
    "url": "https://admincenter.contoso.com",
    "type": "Web"
    }
    ],

    thank you @kumar kaushal

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.