web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Service update deployment of Dynamics 365 Finance V10.0.39 fails

(1) ShareShare
ReportReport
Posted on by 293
Service update deployment of Dynamics 365 Finance V10.0.39 fails
We are trying to deploy the Service update V10.0.39 to a Sandbox environment.  It initially failed due to license algorithm changes that was required by an ISV.  Code changes was deployed successfully to the environment, but the update is still failing.
 
The service update package that we’re deploying, was saved from the Available updates section under the sandbox environment in LCS, and uploaded to Asset Library.  The build version is build 10.0.1860.68

Downloading the error logs, the following SqlException is thrown:
There is already an object named 'LICENSING_POPULATEROLEPRIVILEGELICENSEMAPV2' in the database.

Any assistance will be appreciated greatly.
I have the same question (0)
  • Judy Profile Picture
    Microsoft Employee on at
    Hi, for the error messages, maybe you can try to delete the existing object 'LICENSING_POPULATEROLEPRIVILEGELICENSEMAPV2' from the database after you have backed it up.
    Then you can retry the service update deployment to see if it can help.
    Hope other experts can suggest on this.
     
    Best Regards,
    Judy
  • Anthony Blake Profile Picture
    2,926 Super User 2025 Season 2 on at
  • Verified answer
    Celeste Profile Picture
    293 on at
    The issue has been resolved, there were two things that we needed to do:
     
    1: ISV license issue:
    Confirm with all ISVs if latest versions should be deployed (if the ISV is used the SHA1 algorithm for generating licenses).
    In our case, I redeployed Dynaway modules as well as license.
    Create a new deployable package with the re-deployment and deploy to the environment before attempting the upgrade.
     
    2:  If the upgrade fails with an issue with procedure [DBO].[LICENSING_POPULATEROLEPRIVILEGELICENSEMAPV2], perform these steps:
    1. Create a Just in Time session on the environment and login to the Microsoft SQL database
    2. Expand the AxDB under Databases
    3. Under stored procedures, right click on object [DBO].[LICENSING_POPULATEROLEPRIVILEGELICENSEMAPV2]
    4. Script to new query window and save query (to have a backup)
    5. Click on Create new query and select database AxDB
    6. Run this script:
    7. DROP PROCEDURE IF EXISTS LICENSING_POPULATEROLEPRIVILEGELICENSEMAPV2
    8. GO
    9. Exit Microsoft SQL
     
    Then Upgrade environment.
  • Nick Jordy Profile Picture
    9 on at
    How would you do the Drop Procedure on a tier 3 Production environment (cloud deployment)? Would that need to be handled by Microsoft?
  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at
    @Nick,

    In case there are issues with an update deployment on a production environment, you would need to create a ticket for Microsoft Support. Microsoft is indeed handling this type of issue as there is no direct access to the service.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans