Capgemini / Capgemini/azure-devops-extension-xrm-release

Deploys stopped working suddenly

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
9
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I believe an update by Microsoft has caused issues getting an instance of IOrganizationService. My deploys stopped working on Friday (4 June 2021).

The error is as follows:
![image](https://user-images.githubusercontent.com/9694435/120918797-98581d80-c6f9-11eb-8286-60660c39da6b.png)

`2021-06-06T04:50:15.6141080Z ##[error]System.Management.Automation.CmdletInvocationException: Cannot get IOrganizationService ---> System.Exception: Cannot get IOrganizationService
2021-06-06T04:50:15.6144576Z at Azure.DevOps.Extensions.XrmRelease.Deployment.PowerShellModule.Helpers.ConnectionHelper.GetOrganizationalService(String connectionString)
2021-06-06T04:50:15.6145349Z at Azure.DevOps.Extensions.XrmRelease.Deployment.PowerShellModule.Cmdlets.SetSLACmdlets.ProcessRecord()
2021-06-06T04:50:15.6145985Z at System.Management.Automation.CommandProcessor.ProcessRecord()`

I forked the code and updated packages to the latest version. This has fixed the issue for me (I published a private extension to the Visual Studio Market place and am using it now. Would love to jump back to this once it's fixed.)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported GetOrganizationService failure in the deployment PowerShell path and compare the dependency updates in the reporter's fork, since no project file or test is named here. Reproduce a deployment failure, identify the package change that resolves it, and confirm that the extension can deploy successfully again.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.