Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST call to commitsBatch is failing with: "Microsoft Internet Explorer's Enhanced Security Configuration is currently enabled on your environment...." #51

Closed
puremcc opened this issue Jun 24, 2020 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@puremcc
Copy link

puremcc commented Jun 24, 2020

When I run this with system.debug=True, I get the following error message on the step:

##[debug]POST https://dev.azure.com/MYORG/90b82c25-01be-489a-8d49/_apis/git/repositories/a4a02d21-ba3c-4fc5-b90b/commitsBatch?api-version=4.1 with -1-byte payload

Microsoft Internet Explorer's Enhanced Security Configuration is currently enabled on your environment. This enhanced level of security prevents our web integration experiences from displaying or performing correctly.

I'm not sure if I will be able to change this configuration on my company's build agents. Is there possibly something else I can do, or that I'm missing?

@shayki5
Copy link
Owner

shayki5 commented Jun 25, 2020

hI @puremcc,
If you now link the work items is it works? or you get the same error in another API call?

@puremcc
Copy link
Author

puremcc commented Jun 25, 2020

The log above was from a run where I had the Link work items option checked (True).
I have now tried running with the Link work items option unchecked (False), and I no longer see any error, but the PR still does not get created.

Some additional info:
My pipeline is running in a separate project ('Project A') from the repo where I'm trying to make the PR ('Project B'). However, I have made sure to grant permission to the 'Project A' build service to 'Contribute to Pull Requests' on the repo in 'Project B'.

@shayki5
Copy link
Owner

shayki5 commented Jun 26, 2020

Thanks for the info.
Can you run the pipeline with system.debug = true and share here the logs?

@shayki5
Copy link
Owner

shayki5 commented Jul 2, 2020

After Mike shared the logs with me we noticed it's was a permissions issue.

@shayki5 shayki5 closed this as completed Jul 2, 2020
@shayki5 shayki5 added the help wanted Extra attention is needed label Jul 2, 2020
@puremcc
Copy link
Author

puremcc commented Jul 14, 2020

Thanks @shayki5 for you help and prompt email responses! Great extension. Very valuable for me and my client.

Note to others who may run into a similar issue: you may also need to grant the build service account Contributor permission on the target project in addition to the target repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants