Request a shared folder in System Center 2012 Configuration Manager Application Catalog

I had a crazy idea of requesting a shared folder in the SCCM 2012 Application Catalog. I am not sure when this could be useful but I wanted to see if it could be done.

Below I have described two solutions for this. One more supported then the other 🙂

I will use Orchestrator to generate the folder and the SCCM 2012 Application Catalog for requesting the folder. In this example there will not be any approval needed.

Configuration Manager 2012

Screenshot of Configuration Manager Application Catalog and how the “Create Shared Folder” request will be displayed in the catalog. To be able to get the user requesting the folder I will use the SCCM “Request Approval” feature.

Request a shared folder in System Center 2012 Configuration Manager Application Catalog1

The application in SCCM is almost totally empty because it will only be used for displaying the request in the Application Catalog. This is a screenshot of the SCCM application.

Request a shared folder in System Center 2012 Configuration Manager Application Catalog2

Request a shared folder in System Center 2012 Configuration Manager Application Catalog3

For the Deployment Type I will not use any “Content location” or Program. For Detection Method I will check for the C:\Windows directory as the picture below shows.

Request a shared folder in System Center 2012 Configuration Manager Application Catalog4

For Deployment the “Required administration approval…” will be checked as mentioned earlier.

Request a shared folder in System Center 2012 Configuration Manager Application Catalog5

Runbook

In Orchestrator I will use a Runbook that reads the SCCM 2012 database for new application requests. When it finds a request for “Create shared folder” it will execute the request and create the folder. After creating the folder it will change the request to “Denied” in SCCM 2012 with PowerShell so that a user can request a new folder if needed. I would have loved to change it to something ells but the limitation in PowerShell and SCCM 2012 makes this the best choice. This is the Runbook for getting the SCCM request, creating the folder and changing the status of the SCCM request. To run the Runbook the Orchestrator, the Integration Pack PowerShell Script Execution 1.1 needs to be installed.

Request a shared folder in System Center 2012 Configuration Manager Application Catalog6

I will also publish an alternative Runbook that will delete the row when the request been handled. I think this is a nicer way of handling the request but because it will be changes in the SCCM database it is not supported.

Request a shared folder in System Center 2012 Configuration Manager Application Catalog7

Database

In both Orchestrator Runbooks the following table will be accessed and changed.

Request a shared folder in System Center 2012 Configuration Manager Application Catalog8

To see the different states the request can be in, have look in the following table.

Request a shared folder in System Center 2012 Configuration Manager Application Catalog9

 

Download Runbook: Request a shared folder in System Center 2012 Configuration Manager Application Catalog

No comments yet.

Leave a Reply