Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : /7EEqEe/tE7p4lNeOHruyd
Finance | Project Operations, Human Resources, ...
Answered

Onebox VM Admin User Provisioning Error message

Like (0) ShareShare
ReportReport
Posted on 6 Apr 2022 10:55:40 by 435

HI,

I downloaded and extracted Onebox VHD from LCS. When Using Admin user provisioning tool to add my user as admin following error is showing

The value's length for key 'password' exceeds its limit of 128

Please advise resolution.

 3288.pastedimage1649242345012v1.png

please advise resolution.

  • Hammad Khan Profile Picture
    71 on 20 May 2023 at 07:01:35
    RE: Onebox VM Admin User Provisioning Error message

    I was facing the same issue. Imma.be answer is correct. Also I have messed it up the first time by giving wrong app or client id than it will always give me "login failed for user axadmin" even if i remove the vhd from hyper v

    solution was to delete the VHD and re-extract it again and follow the step mentioned by Imma.be and it worked like a charm.

  • Suggested answer
    Imma.be Profile Picture
    40 on 06 Jun 2022 at 16:10:14
    RE: Onebox VM Admin User Provisioning Error message

    Guys, here's my solution

    1. Google "erpcoder blog admin-provisioning-tool-error-the-values-length-for-key-password-exceeds-its-limit-of-128"

    2. If you use dummy email, use hotmail to create azure free account, to create Azure AD.

    3. Login to azure panel, in the big search bar, search for "active directory", find your "Default Directory" since this is already created by default.

    4. Go to "Application registration" and create AppId, this is for "Generate self-signed certificate".

    5. Create new AD User or Guest User on your Azure AD. This new user identity will be xxx@xxxx.onmicrosoft.com, use this identity for "Admin user provisioning tool"

    6. On your VM, Open the onebox.dynamics url, and login with xxx@xxxx.onmicrosoft.com, in my case it ask me to register with Microsoft Authenticator. And that's it, you should see Dynamics 365 FO start menu.

    I hope it helps!

  • SadiqQ Profile Picture
    435 on 17 May 2022 at 05:56:08
    RE: Onebox VM Admin User Provisioning Error message

    Hi strizvi,

    Please  see reply by Ali in response to this thread. It worked for me.

  • strizvi Profile Picture
    10 on 17 May 2022 at 05:22:50
    RE: Onebox VM Admin User Provisioning Error message

    Any One have solution of the Above?

  • SadiqQ Profile Picture
    435 on 08 Apr 2022 at 07:36:57
    RE: Onebox VM Admin User Provisioning Error message

    Getting following error on running Admin Role provisioning after generating Self-signed certificate

    5584.pastedimage1649403380714v1.png

  • AliRazaZaidi Profile Picture
    40 on 07 Apr 2022 at 10:04:31
    RE: Onebox VM Admin User Provisioning Error message

    You required subscription on Azure portal. There you need to create a web api or register api.

  • SadiqQ Profile Picture
    435 on 07 Apr 2022 at 08:16:03
    RE: Onebox VM Admin User Provisioning Error message

    Thank you very much Ali for your prompt input.

    How can i get my application (client) id

    I will be using my work email id for this purpose. Is it OK?

    Please respond .

  • Verified answer
    AliRazaZaidi Profile Picture
    40 on 07 Apr 2022 at 07:57:53
    RE: Onebox VM Admin User Provisioning Error message

    I found following link and it works for me.

    After you sign in with the Administrator account, right-click the desktop shortcut Generate Self-Signed Certificates, and select Run as administrator. When the script prompts for the application ID, provide the Application (client) ID created in Azure Active Directory.

    When the script finishes, the environment is ready for use. At this time, you can run the Admin Provisioning tool to set the administrator account, permissions, and tenant. Make sure that the email provided is for the Azure Active Directory tenant in which the application registration was created.

  • AliRazaZaidi Profile Picture
    40 on 07 Apr 2022 at 07:40:36
    RE: Onebox VM Admin User Provisioning Error message

    Facing the same issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,333 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,347 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete