Create a release pipeline in Azure DevOps which uploads a file to LCS, with a non admin user that doesn't have MFA

342 views Asked by At

I'm trying to create a release pipeline in DevOps, that releases packages to LCS. The normal Dynamics 365 FO way of working. The issue is, I don't have an admin account without MFA that can be used to do this. Which roles or general setup, should I set on the AAD user, to be able to create the release? Currently I'm getting the AADSTS7000218 error.

I created a user that doesn't have MFA and I expect to add certain roles to be able to use this user for creating releases in DevOps.

1

There are 1 answers

2
Evelyn Chen-MSFT On

In Azure DevOps, to create release pipeline you need "Edit release pipeline" permission set to Allow. And you need to be at least a Basic user.

And as per the document, AADSTS7000218 means The request body must contain the following parameter: 'client_assertion' or 'client_secret'. When authenticating to Azure AD to get an access token, the client application is not providing its “password” (in the form of either a client secret or a client assertion) as expected by Azure AD’s token endpoint.

You could try navigating to Azure Active Directory->App Registration and find Authentication in your application. And set "Allow public client flows" to "Yes" in Azure portal. enter image description here Here's another ticket has the similar issue, hope it can help.