{
    "options": [
        {
            "enabled": false,
            "definition": {
                "id": "5d58cc01-7c75-450c-be18-a388ddb129ec"
            },
            "inputs": {
                "branchFilters": "[\"+refs/heads/*\"]",
                "additionalFields": "{}"
            }
        },
        {
            "enabled": false,
            "definition": {
                "id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
            },
            "inputs": {
                "workItemType": "Bug",
                "assignToRequestor": "true",
                "additionalFields": "{}"
            }
        }
    ],
    "variables": {
        "system.debug": {
            "value": "false",
            "allowOverride": true
        }
    },
    "properties": {},
    "tags": [],
    "buildNumberFormat": "$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)",
    "jobAuthorizationScope": 1,
    "jobTimeoutInMinutes": 60,
    "jobCancelTimeoutInMinutes": 5,
    "process": {
        "phases": [
            {
                "steps": [
                    {
                        "environment": {},
                        "enabled": true,
                        "continueOnError": false,
                        "alwaysRun": false,
                        "displayName": "Power Platform Tool Installer ",
                        "timeoutInMinutes": 0,
                        "retryCountOnTaskFailure": 0,
                        "condition": "succeeded()",
                        "task": {
                            "id": "8015465b-f367-4ec4-8215-8edf682574d3",
                            "versionSpec": "2.*",
                            "definitionType": "task"
                        },
                        "inputs": {
                            "DefaultVersion": "true",
                            "AddToolsToPath": "false",
                            "PowerAppsAdminVersion": "2.0.99",
                            "XrmToolingPackageDeploymentVersion": "3.3.0.901",
                            "MicrosoftPowerAppsCheckerVersion": "1.0.29",
                            "CrmSdkCoreToolsVersion": "9.1.0.64",
                            "XrmOnlineManagementApiVersion": "(obsolete)"
                        }
                    },
                    {
                        "environment": {},
                        "enabled": true,
                        "continueOnError": false,
                        "alwaysRun": false,
                        "displayName": "Power Platform Set Solution Version ",
                        "timeoutInMinutes": 0,
                        "retryCountOnTaskFailure": 0,
                        "condition": "succeeded()",
                        "task": {
                            "id": "2c73f444-efd5-46b6-9416-44273166267b",
                            "versionSpec": "2.*",
                            "definitionType": "task"
                        },
                        "inputs": {
                            "authenticationType": "PowerPlatformSPN",
                            "PowerPlatformEnvironment": "",
                            "PowerPlatformSPN": "273b4ecb-4c40-4905-9edf-fbf2eb41b7d4",
                            "SolutionName": "solutionname",
                            "SolutionVersionNumber": "$(Build.BuildNumber)"
                        }
                    },
                    {
                        "environment": {},
                        "enabled": false,
                        "continueOnError": false,
                        "alwaysRun": false,
                        "displayName": "Power Platform Set Connection Variables ",
                        "timeoutInMinutes": 0,
                        "retryCountOnTaskFailure": 0,
                        "condition": "succeeded()",
                        "task": {
                            "id": "f39f114b-39ae-487c-b3af-2e243c29cbb1",
                            "versionSpec": "2.*",
                            "definitionType": "task"
                        },
                        "inputs": {
                            "authenticationType": "PowerPlatformSPN",
                            "PowerPlatformEnvironment": "",
                            "PowerPlatformSPN": "273b4ecb-4c40-4905-9edf-fbf2eb41b7d4",
                            "Environment": "$(BuildTools.EnvironmentUrl)",
                            "ApplicationId": "",
                            "RedirectUri": ""
                        }
                    },
                    {
                        "environment": {},
                        "enabled": true,
                        "continueOnError": false,
                        "alwaysRun": false,
                        "displayName": "Power Platform Publish Customizations ",
                        "timeoutInMinutes": 0,
                        "retryCountOnTaskFailure": 0,
                        "condition": "succeeded()",
                        "task": {
                            "id": "da253d32-26bf-47cc-8994-ddb90bbfbe36",
                            "versionSpec": "2.*",
                            "definitionType": "task"
                        },
                        "inputs": {
                            "authenticationType": "PowerPlatformSPN",
                            "PowerPlatformEnvironment": "",
                            "PowerPlatformSPN": "273b4ecb-4c40-4905-9edf-fbf2eb41b7d4",
                            "Environment": "$(BuildTools.EnvironmentUrl)",
                            "AsyncOperation": "true",
                            "MaxAsyncWaitTime": "60"
                        }
                    },
                    {
                        "environment": {},
                        "enabled": true,
                        "continueOnError": false,
                        "alwaysRun": false,
                        "displayName": "Power Platform Export Solution ",
                        "timeoutInMinutes": 0,
                        "retryCountOnTaskFailure": 0,
                        "condition": "succeeded()",
                        "task": {
                            "id": "16f6dae7-e6ef-4629-ae75-7988463cb6a6",
                            "versionSpec": "2.*",
                            "definitionType": "task"
                        },
                        "inputs": {
                            "authenticationType": "PowerPlatformSPN",
                            "PowerPlatformEnvironment": "",
                            "PowerPlatformSPN": "273b4ecb-4c40-4905-9edf-fbf2eb41b7d4",
                            "Environment": "$(BuildTools.EnvironmentUrl)",
                            "SolutionName": "solutionname",
                            "SolutionOutputFile": "Solution/solutionname.zip",
                            "Managed": "false",
                            "TargetVersion": "",
                            "AsyncOperation": "true",
                            "MaxAsyncWaitTime": "60",
                            "OverwriteLocalSolution": "true",
                            "ExportAutoNumberingSettings": "false",
                            "ExportCalendarSettings": "false",
                            "ExportCustomizationSettings": "false",
                            "ExportEmailTrackingSettings": "false",
                            "ExportExternalApplicationSettings": "false",
                            "ExportGeneralSettings": "false",
                            "ExportIsvConfig": "false",
                            "ExportMarketingSettings": "false",
                            "ExportOutlookSynchronizationSettings": "false",
                            "ExportRelationshipRoles": "false",
                            "ExportSales": "false"
                        }
                    },
                    {
                        "environment": {},
                        "enabled": true,
                        "continueOnError": false,
                        "alwaysRun": false,
                        "displayName": "Power Platform Export Solution  - Managed",
                        "timeoutInMinutes": 0,
                        "retryCountOnTaskFailure": 0,
                        "condition": "succeeded()",
                        "task": {
                            "id": "16f6dae7-e6ef-4629-ae75-7988463cb6a6",
                            "versionSpec": "2.*",
                            "definitionType": "task"
                        },
                        "inputs": {
                            "authenticationType": "PowerPlatformSPN",
                            "PowerPlatformEnvironment": "",
                            "PowerPlatformSPN": "273b4ecb-4c40-4905-9edf-fbf2eb41b7d4",
                            "Environment": "$(BuildTools.EnvironmentUrl)",
                            "SolutionName": "solutionname",
                            "SolutionOutputFile": "Solution/solutionname_Managed.zip",
                            "Managed": "true",
                            "TargetVersion": "",
                            "AsyncOperation": "true",
                            "MaxAsyncWaitTime": "60",
                            "OverwriteLocalSolution": "true",
                            "ExportAutoNumberingSettings": "false",
                            "ExportCalendarSettings": "false",
                            "ExportCustomizationSettings": "false",
                            "ExportEmailTrackingSettings": "false",
                            "ExportExternalApplicationSettings": "false",
                            "ExportGeneralSettings": "false",
                            "ExportIsvConfig": "false",
                            "ExportMarketingSettings": "false",
                            "ExportOutlookSynchronizationSettings": "false",
                            "ExportRelationshipRoles": "false",
                            "ExportSales": "false"
                        }
                    },
                    {
                        "environment": {},
                        "enabled": false,
                        "continueOnError": false,
                        "alwaysRun": false,
                        "displayName": "Copy DeploymentSettings to Artifact",
                        "timeoutInMinutes": 0,
                        "retryCountOnTaskFailure": 0,
                        "condition": "succeeded()",
                        "task": {
                            "id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c",
                            "versionSpec": "2.*",
                            "definitionType": "task"
                        },
                        "inputs": {
                            "SourceFolder": "DeploymentSettings",
                            "Contents": "**",
                            "TargetFolder": "Solution/DeploymentSettings",
                            "CleanTargetFolder": "true",
                            "OverWrite": "false",
                            "flattenFolders": "false",
                            "preserveTimestamp": "false",
                            "retryCount": "0",
                            "delayBetweenRetries": "1000",
                            "ignoreMakeDirErrors": "false"
                        }
                    },
                    {
                        "environment": {},
                        "enabled": true,
                        "continueOnError": false,
                        "alwaysRun": false,
                        "displayName": "Publish Pipeline Artifact",
                        "timeoutInMinutes": 0,
                        "retryCountOnTaskFailure": 0,
                        "condition": "succeeded()",
                        "task": {
                            "id": "ecdc45f6-832d-4ad9-b52b-ee49e94659be",
                            "versionSpec": "1.*",
                            "definitionType": "task"
                        },
                        "inputs": {
                            "path": "Solution",
                            "artifactName": "Solution-solutionname",
                            "artifactType": "pipeline",
                            "fileSharePath": "",
                            "parallel": "false",
                            "parallelCount": "8",
                            "properties": ""
                        }
                    }
                ],
                "name": "Agent job 1",
                "refName": "Job_1",
                "condition": "succeeded()",
                "target": {
                    "executionOptions": {
                        "type": 0
                    },
                    "allowScriptsAuthAccessOption": true,
                    "type": 1
                },
                "jobAuthorizationScope": 1
            }
        ],
        "target": {
            "agentSpecification": {
                "identifier": "windows-latest"
            }
        },
        "type": 1
    },
    "repository": {
        "properties": {
            "cleanOptions": "0",
            "labelSources": "0",
            "labelSourcesFormat": "$(build.buildNumber)",
            "reportBuildStatus": "true",
            "fetchDepth": "1",
            "gitLfsSupport": "false",
            "skipSyncSource": "false",
            "checkoutNestedSubmodules": "false"
        },
        "id": "a9ac59bc-b250-4701-9bf9-2f4e4a00e782",
        "type": "TfsGit",
        "name": "PostOpPatientTracker",
        "defaultBranch": "refs/heads/main",
        "clean": "false",
        "checkoutSubmodules": false
    },
    "processParameters": {},
    "quality": 1,
    "authoredBy": {
        "_links": {
            "avatar": {
            }
        }
    },
    "drafts": [],
    "queue": {
        "_links": {
            "self": {
            }
        },
        "id": 27,
        "name": "Azure Pipelines",
        "pool": {
            "id": 9,
            "name": "Azure Pipelines",
            "isHosted": true
        }
    },
    "id": 4,
    "name": "1 - PowerPlatform - Build - Solution name",
    "uri": "vstfs:///Build/Definition/4",
    "path": "\\",
    "type": 2,
    "queueStatus": 0,
    "revision": 5,
    "createdDate": "2024-11-05T08:18:08.867Z",
    "project": {
        "id": "17a459fb-5f4c-496d-a854-df8239afceef",
        "name": "Power Platform",
        "state": 1,
        "revision": 28,
        "visibility": 0,
        "lastUpdateTime": "2024-10-17T08:06:32.497Z"
    }
}