Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while adding Azure credentials on Jenkins

Tags:

I am trying to add the Azure credentials (Microsoft Azure Service Principal) on jenkins server under

Credentials -> System -> Global Credentials.

Copied the subscription ID from my App service and added all the necessary information. When I click Verify Service Principal, I am getting The subscription id is not valid error.

I am pretty sure the subscription Id is correct. Am I missing something else?

like image 205
Ganesh Chippada Avatar asked Feb 21 '18 06:02

Ganesh Chippada


1 Answers

I have faced similar issue and the solution is adding required permissions to the service principal which we are using to authenticate. With out any permissions on subscription it cannot validate.

like image 162
phani Avatar answered Oct 12 '22 12:10

phani