creationMode
is one field used to represent the mode of endpoint creation. It's value is Automatic or Manual.
Not sure why you were getting message which relevant the field creationMode
while it is configuring via managed identity
. Because it is the one that Service Principal Authentication
type used. It is not a expected field for managed identity
type.
Troubleshooting way you can use:
Step1:
Use below api to get this issue service connection:
Get https://dev.azure.com/{org name}/{project name}/_apis/serviceendpoint/endpoints/{service endpoint id}?api-version=5.1-preview.2
Step2:
Then check whether creationmode
exists in the response body of above api.
Step3:
If exists, copy the response body, copy and paste it as request body. Here you
are using managed identity
to configure your Azure resource manager
connection, so remove creationMode
field data from the body. And
run Put api to update this service connection.
Even if it does not exists in that response body, you can also use
this Put api to update your service connection with correct
data. This can ensure the service connection creation data are
correct.