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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Build server environme...
Finance forum

Build server environment deployment

(0) ShareShare
ReportReport
Posted on by 215

Hi,

I am deploying new build Environment for continuous build and package generation. 

I created a new agent pool (not default). In VSTS Project, I created a new pipeline (with empty job) and gave name, agent pool as newly created agent pool.

when I deploying the Build server through LCS, I gave the build Agent name, Agent pool which is newly created and branch name.

when i proceed further, am getting error as

agentpool.jpg

 

When I check the agent in  created agent pool, It shows "No agents are registered or you do not have permission to view the agents."

How to come over this issue?

Thanks & Regards

Kathiravan M

 

  • Suggested answer
    Community Member Profile Picture
    on at

    check if your pipeline policy allows the pool to be used

    and review security for team repository and suggest

  • Kathiravan Profile Picture
    215 on at

    Hi Rahul, Previously I created an agent pool in that I didn't enabled "Allow all pipelines to use this pool" in policies.

    I did same like that in the new agent pool. And also I checked the security of repository, the user who is deploying the environment is havind project administrator rights.

    0871.Image-1.jpg

    Is it necessary to set the VSTS project in LCS Project - Project setting - Visual studio team services - Visual studio Team services Project as same as the project  where we creating pipeline.

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Yes, I would assume the pipeline needs to be in the same ADO project that your LCS is linked with. That's where your code should be as well.

    Also, the build environment setup will create the pipeline, you should not create it manually.

  • Kathiravan Profile Picture
    215 on at

    Thanks Nikolas.

    while deploying build environment, we have to create new agent pool in devops and provide it in the below "Build Agent Pool" and branch name.

    build.jpg

    That will create the agent for the corresponding agent pool.

    Is that right?

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Yes, that is right.

  • Kathiravan Profile Picture
    215 on at

    Thanks Nikolaos and Rahul... Let me check on this.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans