sharepointvisual-studio-2015office365sharepoint-onlinesharepoint-apps

Can I debug a workflow on Office 365?


I have a question about Sharepoint Online debugging.

I've created a Sharepoint app with Visual 2015, destined to sharepoint-online and it's sharepoint hosted. Inside, I have a very simple workflow.

When I try to debug it, the following message appears:

error dialog

Is it necessary to have an Azure account to debug a workflow? Are there any other options in workflow development?

If it helps, the deployment environment is Office 365.


Solution

  • It is necessary to have an Azure account to debug SharePoint Online/Office 365 workflows. This is because you can't access certain components that are used for debugging a local SharePoint workflow. Instead Microsoft created the Relay Service component of the Microsoft Azure Service Bus. (A secure component that they charge for hosting)

    Before this component was released it does't appear debugging was possible. (See article below)

    Debugging Workflows In SharePoint 2013 Online using Azure.

    If you have an MSDN subscription or work for a Microsoft partner organization you should receive some free access to Azure.

    Workflow debugging for SharePoint Online requires a Windows Azure Service Bus connection.