Closed mlankamp closed 5 years ago
@WaelHamze Any feedback about my solution?
@mlankamp thank for submitting this PR. I think this is a great idea. However MS recently added support for client secrets: https://www.nuget.org/packages/Microsoft.CrmSdk.XrmTooling.CoreAssembly/
I think this would meet your needs right?
This could meet our needs, going to have a look. Will let you know
The new XrmTooling now has support for client secrets! I have tested the library with connectionstring with the following format:
AuthType=ClientSecret;ClientId=id
;ClientSecret=secret
;Url=url
I'll close this pull request!
Hey guys, having the exact same issue. However the new connection string did not solve it.
Still getting when I run the pipeline:
##[error]Organization cannot be null or empty. Parameter name: Organization Name
Connection String:
"AuthType=ClientSecret; ClientId=
Any suggestions?
Edit: There shouldn't be any quotation marks in the connection string. Deleting the quotation marks solves my problem.
In this pull request I enabled the possibility to sign in with an application user (Azure AD application). The connection string for S2S (server 2 server) flows looks like:
AuthType=OAuth;AppID=
<GUID>
;Url=<DYNAMICSURL>
;password=<SECRET>
We really want this functionality because all our users are MFA enabled and we can't use them within our Azure DevOps build/release pipelines.