Skip to main content
All CollectionsMicrosoft Azure - Technical Guides
Service Connections and Permissions for the AI Test Case Generator for Azure
Service Connections and Permissions for the AI Test Case Generator for Azure
Updated over 7 months ago

If you have already installed and subscribed to AI Test Case Generator in Azure DevOps, the service connection will be automatically created. However, the 'Administrator’ of the existing connection should share the service connection for the new projects.

The user must have the appropriate access permissions to perform the operation.

Share Service Connection

1. In your project, navigate to ‘Board’ then click ‘Work items’ or 'Boards’ and select user story.

2. If the service connection has not been shared within the project, when the 'Administrator' of the existing service connection clicks the 'Generate Test Cases' button, a dialog box will be displayed to select the connection.

3. Select ‘AI Test Case Generator’ and click the ’OK’ button. A confirmation message will be displayed if the service connection is successfully shared.

4. Once the service connection is successfully shared, the test cases will be automatically generated. A confirmation message will be displayed if the service connection is successfully shared.

5. Once the ‘Administrator’ of the existing connection successfully shared the connection, 'Project Administrators and ‘Contributors’ can smoothly generate test cases.

The ‘Administrator’ of the existing service connection can also share the service connection when performing Bulk Operations.

1. In your project, navigate to ‘Board’ then click ‘Queries’.

2. Click ‘New query’, then 'Run query’

3. Navigate to 'Results’ and select the user stories, then 'right click’.

4. Select ‘Generate Test Cases’.

5. Click ‘Fix’ button.

6. Select ‘AI Test Case Generator’ and click ‘OK’ button.

7. Click ‘Start’ and wait until the processing is completed.

8. All the user stories processed in Bulk Operations should have generated test cases.

Users without 'Administrator’ permission to the existing service connection are not allowed to share the connection to the new projects.

1. Access the user story and click the 'Generate Test Cases' button.

2. Select the 'AI Test Case Generator' and click 'OK' button.

3. An error message will be displayed to inform the user that the 'Administrator' of the service connections is required to perform the operation.

How to configure Service Connection from Organization Settings

This guide will help you configure your AI Test Case Generator Service connection from the organization settings. This is helpful if you have created a new project and want to use the test case generator and initially configure the service connection.

1. Open the Organization page in DevOps Azure.

2. Click the Project Settings button on the bottom left side of the page.

3. Scroll down to the bottom of the page and click the AI Test Case Generator extension.

Note: If you already have the AI Test Case Generator plan you should see this page.

If you don’t have a subscription yet, please refer to the [link] on how to subscribe using extension. (Note no guide yet)

4. Click the ‘Manage’ Tab.

5. Click the dropdown menu and select the Project you want to add the Project connection settings.

6. Click the ‘Add’ button

Confirmation page not yet created.

7. Open the project where the connection setting is added.


Refer to https://app.intercom.com/a/apps/ngctdlk4/articles/articles/9317119/show on how to configure the Test Plan and Project settings.

8. Once the project settings are configured, Open the user story.


9. Click the ’Generate Test Cases’ button and start creating test cases.

Did this answer your question?