Manage RM permissions using TfsSecurity.exe

Recently one of the customer wanted to know whether he can programmatically manage RM-related permissions. The msdn documentation for this is not yet finished, so Rohit Batra from the team put together a list of steps on how it can achieved and they are as follows. Step to add a new group at the collection…

0

How to update release level variables using RM rest APIs?

Recently one of the customer wanted to add a release variable using RM Rest APIs and I shared with him the following code. You can get the PAT token using the instructions mentioned here. string collectionUri = args[0]; string projectName = args[1]; string patToken = args[2]; int releaseId = int.Parse(args[3]); VssConnection connection = new VssConnection(new…

0

Release Management utilities for RM 2015

Recently one of the customer wanted to know whether we have any utilities/best practices document that he can follow while managing his release management installation. Abhishek Aggarwal/Madhu Vadlapudi/me put together some of the utilities that we had, that were relevant for this customer, and I am sharing them with you below. Find the releases which…

9

Release management trial license has expired

One of our customers recently reported that he is intermittently hitting an issue where release management client shows that the server has expired. The error message at the client looks similar to this: – Suresh Tadisetty from the team worked with the customer and observed that it is occurring because the IIS worker process was…

1

WinRM client received an HTTP status code 502 or 403 from the remote WS-Management service.

Yesterday Sandeep Venkata was testing a change when he observed that releases to both azure environment as well as standard environment are failing with following errors: – Azure environment: – Failed to connect to the remote server <xyz>.cloudapp.net, the following error message was returned: WinRM client received an HTTP status code 502 from the remote…

0

Error – (1328, 2320) – Parameter count mismatch

Recently one of the customer reported that the releases are failing with following stack trace: – Error – (1328, 2320) – Parameter count mismatch.: \r\n\r\n   at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.Dsc.DscComponentInstaller.InvokeMethodByReflection(String methodArguments)    at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.InstallComponentForV2PipelineImplementation(String…

2

Not able to see the stop release action in release management

Recently one of the customer reported that one of his release is pending at the deployment step and he is not able to find any way to stop the release (no stop action in the action bar where Delete/Save etc are visible). I looked at my local setup & observed that the stop action is…

0

Mixed mode assembly is built against version ‘v2.0.50727’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

One of the release management customer reported that while running a PS/DSC deployment script, the release management release is failing with following error: Mixed mode assembly is built against version ‘v2.0.50727’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. Praneeth Yenugutala from the team investigated this and observed…

12

The current user does not have access to Release Management. Please login with a valid user or communicate with the Release Management administrator to add your user

One of the release management customers on VSO reported the above error where hewas not able to connect to the service using the WPF client. Anjani Chandan from the team resolved the issue using the following steps. He observed that the user is able to make the following rest call from the “private” browser window…

2

Microsoft.TeamFoundation.Release.Common.Helpers.OperationFailedException: Failed to establish remote power shell session

Recently one of the customers reported that his releases with the release management service on visual studio online are failing with following error. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.AggregateException: One or more errors occurred. —> Microsoft.TeamFoundation.Release.Common.Helpers.OperationFailedException: Failed to establish remote power shell session to the deployment machine mymachine.cloudapp.net…

0