Who can use this feature?
- Available in TDAdmin and the Ticketing application admin UI
- License Requirement: Enterprise
- Application Access: User must have access to Work Management and the specific Ticketing application, or TDAdmin
- Administrative Access:
- Ticketing Application Admins can configure Web Service Auth Accounts, Web Service Providers, Web Service Methods, and Web Service steps from the Ticketing Application Admin interface
- Global Administrators can configure the same items in TDAdmin
In this article, we’ll cover:
Overview
This article walks through a complete example of setting up Workflow Web Services with Microsoft OAuth 2.0 authentication: registering an application with Microsoft, creating a Web Service Auth Account, creating a Web Service Provider, and configuring a Web Service Method — using a real scenario where TeamDynamix writes a ticket ID to an Excel for the web workbook as part of a workflow.
For the general steps behind each piece, see:
This article shows how those pieces come together for one specific, Microsoft-based use case.
Registering an Application with Microsoft
To use a Web Service Auth Account with Microsoft Azure, you'll need three pieces of information: Client ID, Client Secret, and Scope. Follow these steps to register the application and gather them:
- Navigate to entra.microsoft.com and log in with the service account associated with your Azure subscription.
- Locate the Microsoft Entra ID service using the global search.
- In the left navigation, select App Registrations.
- Click on the + New Registration button and configure the application:
- Provide the user-facing Name.
- Supported Account Types – Select Single tenant only, which limits sign-in to accounts in your organization. This example assumes the account that owns the workbook belongs to your organization.
- Redirect URI - Select Web for the platform and enter your TeamDynamix base URI plus the OAuth callback endpoint:
[TeamDynamix Base URL]/TDAdmin/OAuth/CallbackThis URI is case-sensitive.
For example, if your TeamDynamix base URL is https://abuniversity.teamdynamix.com, enter: https://abuniversity.teamdynamix.com/TDAdmin/OAuth/Callback
- Click Register to create the application.
- On the Overview page that opens after you register, copy the Application (client) ID and save it. This is the Client ID you enter in your Auth Account.
- On the TeamDynamix app page, under Manage, click Certificates & secrets.
- Click the + New client secret button, then select 730 days (24 months) from the Expires dropdown. This is the longest lifetime Microsoft allows. If your organization requires a shorter lifetime, select the option that matches your policy.
- Click Add.
- Important: On the Certificates & Secrets page, click the Copy icon for the new client secret Value and save it somewhere secure.
⚠️ The client secret value can only be viewed immediately after creation. Be sure to save the secret Value before leaving the page.
- In the left-side menu, under Manage, click API permissions.
- Click the + Add a permission button.
- Select Microsoft Graph, then Delegated Permissions.
- Search for Files.ReadWrite. This permission allows reading and writing files — including Excel workbooks — in the signed-in user's OneDrive, which Microsoft Graph needs to update a workbook. If the workbook lives in someone else's OneDrive or a SharePoint site rather than the account you're authenticating as, use Files.ReadWrite.All instead.
- Click Add permissions.
- Build the Scope value for your Auth Account. Click the name of the permission you added and copy its full URL. This example uses one permission, so your Scope is:
https://graph.microsoft.com/Files.ReadWrite If you add more permissions, separate each URL with a space.
Note: TeamDynamix automatically includes the offline_access scope.
Keep track of your Client ID, the client secret Value, and your Scope — you'll need all three when you create the Web Service Auth Account.
Creating an Excel for the Web Workbook
To create the workbook this example will write to:
- Go to excel.cloud.microsoft and sign in with the same account you used to register your application.
- Click + Create blank workbook.
- Enter a name for your workbook. Avoid spaces and special characters in the file and folder names to keep the URL simple.
- Click into cell A1 and type "Last Processed Ticket".
- Note the workbook's file path in your OneDrive—for example, if you saved it directly to your OneDrive root, the path is just the filename, such as
Ticket-Log.xlsx. If you saved it inside a folder, include that too, such as Workflow-Data/Ticket-Log.xlsx. Don't include a top-level folder name such as Documents unless it's a folder you created. You'll need this path to build the Web Service Method's URL.
Note: By default, a new Excel workbook's first worksheet is named Sheet1. This example assumes that default name — if you've renamed the worksheet, use that name instead in the steps below.
Creating the Web Service Auth Account
To create a Web Service Auth Account:
- Navigate to TDAdmin > Applications > [Ticketing application].
- Select Workflow Web Services in the left navigation, then Web Service Auth Accounts.
- Click +New.
- Enter the following details:
- Name
- Account Type – Microsoft OAuth 2.0
- Active – Checked
- Certificate Validation – Enabled
- Client ID – Enter the Application (client) ID you copied when you registered your application.
- Client Secret – Enter the client secret Value you saved.
- Scope –
https://graph.microsoft.com/Files.ReadWrite
- Click Generate Tokens. When prompted, sign in with the Microsoft account that owns the workbook and grant the requested permissions.
- Once the token is generated successfully, click Save.
Learn more about Creating a Web Service Auth Account or what to expect when generating an access token in OAuth 2.0 Web Service Auth Accounts.

Creating the Web Service Provider for Microsoft Graph
To create a Web Service Provider:
- Navigate to TDAdmin > Applications > [Ticketing application].
- Select Workflow Web Services in the left navigation, then Web Service Providers.
- Click the +New button.
- Enter the following details:
- Name – Microsoft Graph API
- Base Web Service Provider URL –
https://graph.microsoft.com/v1.0
- Active – Checked
- Description (optional)
- Click Save.
See Creating a Web Service Provider for more details.
Configuring the Web Service Method
To create a new Web Service Method that communicates with Microsoft’s servers:
- Navigate to TDAdmin > Applications > [Ticketing application].
- Select Workflow Web Services in the left navigation, then Web Service Methods.
- Click +New.
- Name – Enter a name that indicates what this call does (for example, “Add ticket ID to Excel”)
- Web Service Provider – Select Microsoft Graph API. This automatically fills in the base URL.
- Active – Checked
- Method – PATCH
- URL – Update to:
https://graph.microsoft.com/v1.0/me/drive/root:/[path to your workbook]:/workbook/worksheets/Sheet1/range(address='A2')
- For example, if your workbook's path is
Workflow-Data/Ticket-Log.xlsx,
the URL is: https://graph.microsoft.com/v1.0/me/drive/root:/Workflow-Data/Ticket-Log.xlsx:/workbook/worksheets/Sheet1/range(address='A2')
Note: This URL identifies the workbook by its location in OneDrive. If you rename or move the workbook, update the URL to match, or the call fails.
- Headers – Click the Headers tab and add a header with the name Content-Type and the value application/json, then click +Add. The header count should increase from 0 to 1.
- Parameters – Click the Parameters tab and add:
- Name – TicketID
- Data Type – Integer
- Source – From Ticket
- Source Property – ID
- Click +Add. The parameter count should increase from 0 to 1.
- Body – Click the Body tab and enter:
{
"values": [
[{{TicketID}}]
]
}
- Authentication – Click the Authentication tab and select the Microsoft Auth Account you created earlier.
- Click Save.
- To test the Method:
- Click Test Request
- Enter a sample value in the TicketID field
- Click Send
- A successful call returns a 200 OK status, and cell A2 of your workbook updates with the value you provided.
Learn more in Microsoft's Graph API reference.
Adding the Web Service Method to a Workflow
To add the Excel Web Service Method to a workflow as a Web Service step:
- Open the workflow you want to add this step to and check it out.
- Click the New Step button in the toolbar.
- In the New Workflow Step window, enter a Name that indicates what the step will do — for example, Write Ticket ID to Excel Workbook.
- Select Web Service from the Type dropdown.
- Enter a Description for the step.
- From the Web Service Provider / Method dropdown, select the method you created earlier.
- Under Notify on Success, select any roles — Responsible Resource, Reviewer, Requestor, and/or Creator — you want notified if the write to the workbook succeeds.
- Under Notify on Failure, select any roles you want notified if the write fails. This is useful here, since a failure means the workbook wasn't updated and someone may need to add the ticket ID manually.
- Optionally, enter additional recipients in the Other People field under either Notify on Success or Notify on Failure.
- Leave Response Code and Response Body blank. Nothing downstream in this workflow needs the Microsoft Graph response. Fill them in only if a later step needs to act on the result.
- Click Save.
When this step runs, TeamDynamix calls Microsoft Graph using the method you configured and writes the current ticket's ID to cell A2 of your workbook. This example always writes to cell A2, so each ticket that reaches the step replaces the previous ticket ID. It shows the most recently processed ticket and doesn't keep a history.
See Configuring Ticket Workflows for all steps to set up and publish your workflow.
Learn more about using the Web Service Steps to automate processes by calling an external web service.