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
MSCRM Export Solution - Organization cannot be null or empty #50
Comments
@cspecker seems like there is a connectivity issue between the CRM instances and the build agent. Are you using hosting agents or private agents? Sometimes conditional access policies, firewalls, proxies can be the cause of this. |
Thanks, I suspect you are right. Thanks for pointing me in the right
direction.
…On Tue., 26 Feb. 2019, 5:38 pm WaelHamze, ***@***.***> wrote:
@cspecker <https://github.com/cspecker> seems like there is a
connectivity issue between the CRM instances and the build agent. Are you
using hosting agents or private agents? Sometimes conditional access
policies, firewalls, proxies can be the cause of this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIXeKq0rVNEaZ7Zo7qwJbRu92QhR1pzmks5vRNZRgaJpZM4bRYig>
.
|
Hope you get it fix soon. Please re-open case if you have any further questions on this topic. |
Hope you get it fix soon. Please re-open case if you have any further questions on this topic. |
Hi @WaelHamze , Thanks. |
I had the same issue.
But the right connection string is
P.S. MFA (2-factor auth) is disabled for this user |
Hi @cspecker - I am also experiencing the same issue with the Export solution. Did you fix this issue? |
@valerymoskalenko - I changed the connection string as you mentioned, but still the issue is not fixed with me and I get the error. |
@WaelHamze - How to check the connectivity issue between the CRM instances and the build agent. Note - I have worked in TFS builds with Dot Projects but this is a new assignment for me to do CI/CD for CRM instance using Azure Devops. |
@WaelHamze : I am getting the same error when I try to build. fYI I am trying to connect using console app and it works fine. |
Hi @mkcgphy - The issue got resolved for me after adding the domain name in the connection string. Please see if that fixes the issue for you. note this is my connection string: AuthType=Office365;Domain=xxxx; Username=$(CRM_username);Password=$(CRM_password);Server=https://xxxx.crm4.dynamics.com |
I didn't put parenthesis around the variables in the connection string and that gave me the same error. So after changing |
Getting the following error using MSCRM Export Solution task in DevOps
##[section]Starting: MSCRM Export Solution: xxx
Task : MSCRM Export Solution
Description : Exports a CRM Solution from the source CRM environment
Version : 10.0.2
Author : Wael Hamze
Help : More information here: https://msdn.microsoft.com/en-us/library/microsoft.crm.sdk.messages.exportsolutionrequest.aspx
Exporting Unmanaged Solution
##[warning]Unable to Login to Dynamics CRM
##[warning]Unable to Login to Dynamics CRM
##[warning]Unable to Login to Dynamics CRM
##[error]Couldn't connect to CRM instance after 3 attempts: Unable to Login to Dynamics CRM
##[section]Finishing: MSCRM Export Solution: RDTaxIncentive
Connection string is AuthType=Office365;Url=https://xxxx.crm6.dynamics.com;UserName=xxx@xxx;Password=xxx
I can log directly onto that CRM instance and can also run Export-XrmSolution powershell script from my dev box with same connection string and it works.
The text was updated successfully, but these errors were encountered: