• Skip to primary navigation
  • Skip to main content
Carbon60

Carbon60

The Managed Cloud Difference

  • Show Search
  • Contact Us
  • Get Started
Hide Search
  • Cloud Adoption
    Cloud Adoption

    Starting or continuing on your cloud journey — whether public, private or hybrid — is a complex undertaking. But no matter your company size or industry, our cloud consulting experts can help with end-to-end solutions to plan, migrate and operate your business in the cloud.

    • Cloud Readiness Assessment

      Chart a new course for your IT environment with a Cloud Readiness Assessment. With a proven process, we take into consideration your technology, people and business strategy and tailor a public, private or hybrid cloud environment that will set your organization up for success.

      Learn more
    • Cloud Migration Services

      Cloud migration can transform your business and give you a competitive edge – when done properly. Our cloud experts will help you move complex workloads to the right cloud environment, the right way – tailored for your specific needs.

      Learn more
    • Cloud Launchpad
    • Modernization
    • Cloud Security & Compliance
  • Managed Cloud
    Managed Cloud

    Get the most out of the cloud and keep your IT team out of the weeds. Gain predictability and control around security, compliance, agility, reliability, performance – and cost – by tapping into our standard-setting managed cloud services.

    • Managed Private Cloud

      Safe, stable, fast, compliant, secure and fully managed – get a reliable and data sovereign cloud infrastructure platform for your applications.

      Learn more
    • Managed Public Cloud

      Experience matters. Whether you choose Managed AWS, Azure or Google Cloud, we can take care of the heavy lifting while you focus on your business.

      Learn more
    • Cloud Backup
    • Cloud Disaster Recovery
    • Security
    • Managed Public Cloud
    • Cloud Disaster Recovery
    • Applications
  • Industries
    Industries

    When it comes to financial services, healthcare, public sector and technology – there is simply no room for error or uncertainty when it comes to data security and compliance. There are specific and important considerations that we are well-versed in navigating. We’re trusted by governments and organizations to safely house mission-critical functions every day.

    • Financial Services

      Increase go-to-market speed, while meeting SOC2, PCI-DSS and OSFI B10 regulatory and organizational obligations.

      Learn more
    • Healthcare

      Get secure, scalable high-performance data, while improving the patient experience and addressing every compliance and privacy requirement.

      Learn more
    • Public Sector
    • Technology
  • Partners
    Partners

    Simply put – the right technology and the right platform is the one that’s right for your business. We’re highly certified and experienced in the major public clouds – so regardless of complexity, customization or preference – we’re well-equipped to have your back every step of the way.

    • AWS

      AWS Premier Partner with 100+ AWS certifications and counting.

      Learn more
    • Microsoft Azure

      Gold Microsoft Azure Partner with core competencies and certifications.

      Learn more
    • Google Cloud
    • VMware
  • Insights
    Insights

    Sharing knowledge and expertise is a big part of how we’ve evolved - and how we help our customers.

    • Blog

      Stay up to date with the latest trends and developments in the fast-moving world of digital transformation.

      Read
    • Events

      Make sure to join us for our next event and connect with cloud experts who have a lot to share.

      Attend
    • Resources

      Your toolkit to do a deeper dive with case studies, info sheets, checklists and more.

      Explore
  • About
    About

    We’re on a mission to bring digital transformation to more businesses, by making forward-thinking cloud strategy – and high-performance cloud services – more accessible.

    • Leadership

      Meet the leadership team who are driving our vision forward.

      Learn more
    • About Carbon60

      Learn more about who we are, and how we help our customers evolve with confidence.

      Learn more
    • Careers
    • News
  • Contact Us
  • Get Started

Integrating SharePoint and System Center Orchestrator

January 22, 2013

The Problem

SharePoint workflows, which are based on Microsoft WF, are a great way to automate processes that require human interaction and can be easily managed through SharePoint designer, without any custom development. But when it comes to automating IT processes, Microsoft provides us with another workflows engine called Orchestrator (part of System center). The Orchestrator has a variety of activities and integration packs that make him a powerful tool for implementing IT runbooks.

I needed a solution for users who design SharePoint’s workflows, using the SharePoint designer, to easily create workflows that will include execution of Orchestrator’s runbook. Using the SharePoint OIP (Orchestrator Integration Packs) you can monitor a SharePoint list for a change and execute a runbook as a result (as described here). However, this monitoring approach is based on pooling, so for example, if I’m using the default 30 seconds for pooling interval with the above approach for a task that is usually required once a week, it will generate more than 20,000 unnecessary queries against the SharePoint. Then, when the user will update the list’s item it will take up to 30 seconds before the workflow will start.

And so, it would seem that triggering the runbook from SharePoint will be a much better solution.

The Solution

The SharePoint native way for integration with external resources is using the Business Data Catalog (BDC). Using Visual Studio 2010, I created the “Orchestrator BDC Connector”, which can be deployed as a WSP solution file through the SharePoint Central admin. With that connector installed, you can create a SharePoint external list that will contain all or a filter list of the Orchestrator’s runbooks. To execute a runbook all you need to do is to update the specific runbook item on that external list. The list contains a column called “InitValue” where the updated value on this field will be sent as a parameter to the runbook. In SharePoint designer’s workflows this activity translates to adding the “Update List Item” action to a workflow, picking the desired runbook from the list and setting the parameter’s value. To provide more than one runbook’s parameter you can setup the SharePoint integration pack for Orchestrator. Then, the current “List item Id” can be set as the parameter and using the “Read Item” activity you can access all the rest of the list item’s fields from the runbook.

Required Ingredients:

  1. Orchestrator Server with runbooks that accepts zero or one parameter
  2. SharePoint 2010 with the BCD service and the Security storage service enabled and attached to your web application
  3. SharePoint Designer
  4. The “Orchestrator BDC connector” (download link at the bottom of this post)

Deployment:

  1. Deploy the provided WSP File. The connector implements a custom feature receiver that enables it to be automatically deployed also on farms that do not have a root site on port 80 (If you have more than one web application you will still need to deploy it manually).
  2. Create a new “Secure Storage target application” with the following configurations
    1. Name: “OrchestratorBdcConnector”
    2. Type: “Group Restricted”
    3. Fields:
    4. Members – group that will have permission to execute the runbooks. I used “All Authenticated Users”
  3. Set the credential for the new store application:
    1. Username/Password for a user that has access to execute the Orchestrator’s runbooks. The username should include the domain (Domainusername).
    2. Url of the Orchestrator web services. The format: http{s}://{OrchestratorServer}:81/Orchestrator2012/Orchestrator.svc/
    3. Optional – to filter the runbooks list for only a specific folder, type in the “Runbook Prefix Filter” field the required folder path.
  4. Create an External List based on the “OrchestratorBdcModelInstance” External content type
  5. Make sure that you can see the runbook list (if not, go back and check the previous steps)
  6. In SharePoint Designer build a workflow that contains an “Update item” action and update the InitValue field with the required runbook’s parameter value. In the “Find the List Item” section search the required runbook by “FullPath” (you can copy the name from the list you defined in the previous step).
  7. Execute the workflow and watch the runbook executing

Download the WSP file and source(160 KB)

IT Advice Orchestrator, sharepoint, System Center, system center orchestrator

Related posts

PowerShell SSH Module for Nonstandard Devices Like Cisco ASA

October 28, 2014

Executing System Center Orchestrator 2012 Runbooks from C#

August 15, 2012

Validating User Resources for Deploying a Service Template

October 1, 2012

Subscribe to receive Carbon60 news

Stay up to date on insights, blog articles, events and services from Carbon60 delivered to your inbox.

Subscribe
Carbon60
  • Cloud Adoption
    • Cloud Readiness Assessment
    • Cloud Migration Services
    • Cloud Launchpad
    • Modernization
    • Cloud Security & Compliance
  • Managed Cloud
    • Managed Private Cloud
    • Managed Public Cloud
    • Cloud Backup
    • Cloud Disaster Recovery
    • Security
    • Applications
  • Industries
    • Financial Services
    • Healthcare
    • Public Sector
    • Technology
Follow us on LinkedIn Follow us on Twitter Follow us on YouTube

© Copyright Carbon60 2023

  • Privacy Policy
  • Terms & Conditions
  • Contact Us