Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

GP Changing Password After Upgrade - Failed for unknown reason

(0) ShareShare
ReportReport
Posted on by 673

Hi All,

I have had this a few times and typically with smaller upgrades I get around the problem by deleting the users and re-creating however I am dealing with a much larger upgrade with over 100 users so.. was hoping for a better way to go about this.

So for the test upgrade on the new server, after I restore the databases and say run the upgrade to the last step of GP18.3, i then run the SQL Login Capture script against the old sql server then run the results against the new sql server and it creates the logins fine, I then typically change the password for each one (which is equally as long..) then they login fine after i also run the grant script for good measure.

However after I do the live upgrade so just restoring a database this time and the logins SQL are of course already present, upon sucesful upgrade I then go to change the users password then when I login as that user I get the following:

pastedimage1615671722764v1.png

Any ideas on the correct process or a nice quick way around this?

Categories:
  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: GP Changing Password After Upgrade - Failed for unknown reason

    Try unclicking Enforce Password Policy. Change password in GP on the server as 'sa' for this user and then try logging in as this user on the server.

  • abutler1986 Profile Picture
    abutler1986 673 on at
    RE: GP Changing Password After Upgrade - Failed for unknown reason

    pastedimage1615745354153v1.png

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: GP Changing Password After Upgrade - Failed for unknown reason

    Under Security->Logins in SSMS right click on the user and then click Properties. Please send screenshot of what you see under General.

  • abutler1986 Profile Picture
    abutler1986 673 on at
    RE: GP Changing Password After Upgrade - Failed for unknown reason

    I can login as 'sa' fine and the user is enabled.

    What I find weird is, when I go to change the test users password, it comes up with the usual box saying you must change your password but it first pops this box up:

    pastedimage1615735048605v1.png

    Also, i have checked the event viewer and it appears to be doing something more odd:

    Login failed for user '***'.  Reason: The password of the account must be changed. [CLIENT: 10.10.200.26]

    Login failed for user '***'. Reason: Failed to open the explicitly specified database '***'. [CLIENT: 10.10.208.60]

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: GP Changing Password After Upgrade - Failed for unknown reason

    Are you at least able to login as 'sa'? If you go into SSMS is it set for SQL Authentication? When you check the users is their Status set to Enabled?  Under Security->Logins->Right click on User->Properties->Status.

  • abutler1986 Profile Picture
    abutler1986 673 on at
    RE: GP Changing Password After Upgrade - Failed for unknown reason

    Hi Richard,

    No same domain just a new server. I have tried longer passwords still get the same message.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: GP Changing Password After Upgrade - Failed for unknown reason

    Is this server part of a new domain with more stringent policy restrictions? Try longer passwords with special characters?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

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 February 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... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans