Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Set up and deploy on-premises environments (Application 10.0.32 and later)

(1) ShareShare
ReportReport
Posted on by 34
Hello All,
 
I am trying to deploy new envoirenment as sandbox (on-prem). every is going fine until the Step 16. Configure Lifecycle Services connectivity for the deployment came.
 
in this step we have to configure Lifecycle Services connectivity for Finance + Operations (on-premises) deployments and there are two options:
 
1. New authentication process (Bring-your-own Microsoft Entra service principal)
2. Deprecated authentication process (ERP service principal) 
 
2nd option is the old way and the 1st one is the latest option.
 
i am trying for the 1st option but unfortunately. i am stuck on (.\Set-LCSEntraApplication.ps1 -ConfigurationFilePath .\ConfigTemplate.xml -ApplicationDisplayName 'Display name of the application').
 
every i issue the above command it said .\Set-LCSEntraApplication.ps1 script is missing or go to the directory. i searched all the computer but i didnt find the script .\Set-LCSEntraApplication.ps1.
 
can anyone has done the deployement and help me out.
 
regards,
Armaan
  • CU29080459-4 Profile Picture
    CU29080459-4 4 on at
    Set up and deploy on-premises environments (Application 10.0.32 and later)
    Thanks for answering, you saved my day.
  • Verified answer
    Armaan H. Alam Profile Picture
    Armaan H. Alam 34 on at
    Set up and deploy on-premises environments (Application 10.0.32 and later)
    Hi Mandeep.
     
    yes i am using latest script but the issue is with that command now i used the command with tenant id and it working but there is another the command unable to update the client_id under config template file. you know why ? i have updated my config temp file from 1.11 to 1.12 due to latest script the updated file has the last part about entra id which is different from the latest config template file. 
     
    after seen this i have copied those entra application id line and update those into my config templete which helped me out and ran the command successfully.
     
    thanky you all for your prompt support and i wish i can learn something from you guys.
     
    regards,
    Armaan
  • Suggested answer
    Mandeep.S Profile Picture
    Mandeep.S 217 on at
    Set up and deploy on-premises environments (Application 10.0.32 and later)
    Dear Armaan,
     
    The error description 'Tenant not found' looks like the Microsoft login used to fill in the Entra details into the configtemplate.xml is either not correct or not the Global administrator for this tenant.

    1. You should check to make sure you have the correct tenant ID / role with your administrator.

    2. In addition, also try to use script version 2.22.1 (as mentioned in the previous post)... a XML formatting fix is applied to it.
     
    ## [2.22.1] - 2024-10-01
    ### Fixed
    - D65FO-OP-ConfigTemplateDefinition.psm1 to use the XDocument class to save config XML files to ensure proper formatting.
     
    3. If you are downloading the new script version (2.22.1), cleanup and start your deployment from the beginning.
     
    Happy hunting.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,359 Super User 2024 Season 2 on at
    Set up and deploy on-premises environments (Application 10.0.32 and later)
    Hi Armaan,

    I just read an email where version 2.22.1 of the deployment scripts has been announced. You can find the scripts here: https://lcs.dynamics.com/V2/SharedAssetLibrary
  • Armaan H. Alam Profile Picture
    Armaan H. Alam 34 on at
    Set up and deploy on-premises environments (Application 10.0.32 and later)
    Thanks Komi Siabi for the answer.
     
    now i am stuck at new point while issueing the command: (now i going to select work or school account and click continue)
    and then i got new error please review the 2nd picture.
     


     
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,711 Most Valuable Professional on at
    Set up and deploy on-premises environments (Application 10.0.32 and later)
     Hello,
     
    That is because, you did not download the latest infrastructure script from LCS.
     
    Get version 2.22.0, you should see the Set-LCSEntraApplication.ps1 file.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans