Initiate the Visio Graphics Service Application in SharePoint 2013 using PowerShell

​In this article, we will learn how we can generate a new instance of the Visio Graphics Service Application in SharePoint 2013 using PowerShell. Currently, SharePoint 2013 (with the December 2014 Cumulative Update) offers 13 different PowerShell cmdlets that are related to the Visio Graphics Service. If you are ever interested, this full list of cmdlets can be obtained by running the following line of PowerShell:

Get-Command | Where{$_.Name – like ‘*SPVisio*’}


In order to instantiate the Service Application, the first step if to obtain a reference to a Service Application Pool. In our case, we are simply going to go and create a new one entirely and we will name it “Visio Services” for clarity’s sake. This can be achieved by calling the following line of PowerShell:

New-SPServiceApplicationPool -Name “Visio Services” -Account “Contoso\Administrator”


Once the Service Application Pool has been created, we are ready to move on to the actual Service Application instance creation. For this to happen, simply type in the following line into the SharePoint PowerShell console. This will actually create the Service Application instance, and assign it to a variable. Note that this operation may take up to a few minutes to complete.

$visioServiceApp = New-SPVisioServiceApplication -ApplicationPool “Visio Services” -Name “Visio Service Application”

We can see from the figure below, that at this point, we have our Visio Graphics Service Application entry shown in Central Administration. Let us now create the Service Application Proxy associated with this Service Application entry.


The Service Application entry can be created by calling the following line of PowerShell, passing it the variable that contains the Service Application instance we created in the previous step.

New-SPVisioServiceApplicationProxy -ServiceApplication “Visio Service Application”


Then looking at the central administration Service Application page, we can now see that the proxy instance has been created.


We’re almost done. Now that we have our Service Application and Proxy up and running, we still need to enable the Visio Graphics Service. To achieve this, we need to enter the following lines of PowerShell. This will get a reference to the Visio Graphics Service, and pass it to the Start-SPServiceInstance cmdlet which will enable it.

$visioService = Get-SPServiceInstance | Where{$_.TypeName -like ‘*Visio*’}
Start-SPServiceInstance $visioService

To confirm that everything is up and running, navigate to the “Services on Server” page in the Central Administration and ensure the Visio Graphics Service is marked as started.


You should now be all set and ready to use the Visio Graphics Service Application to interact with your Visio diagrams in SharePoint!

Leave a Reply

Your email address will not be published. Required fields are marked *