Closed sureshv1980 closed 4 years ago
@sureshv1980 are you still getting this error? This is likely to be related to some policies applied to AAD such as MFA.
Extremely sorry Wael i could not reply earlier as the email had gone to my spam folder. We have figured out to be a MFA issue like you said. However we have still not yet been able to resolve it. in the meanwhile, we had few agents in our on-prem from which we are able to run the CRM tasks.
On Tue, May 26, 2020 at 11:43 AM WaelHamze notifications@github.com wrote:
@sureshv1980 https://github.com/sureshv1980 are you still getting this error? This is likely to be related to some policies applied to AAD such as MFA.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WaelHamze/dyn365-ce-vsts-tasks/issues/176#issuecomment-633827343, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO47IH623GGPKT7DXPVW2PLRTNMZRANCNFSM4MNJ5RDA .
@sureshv1980 no worries. I thought so. I posted video recently which shows how to create app registrations that work with MFA http://www.youtube.com/watch?v=rl62P68UxE4
Hi @WaelHamze , up until Tuesday, we were using AuthType=Office365 with our Power DevOps Tools tasks, but it's now failing with this exact same error message as above (An unsecured or incorrectly secured fault was received from the other party). A colleague of mine sent a link concerning the deprecation of Office365 authentication type. Are you aware of this?
After watching your excellent video above, I will be looking at ClientSecret moving forward.
@Sygec yes I saw that. Hope you managed to get the client/secret working.
Hi @WaelHamze we have been using v9.* tasks with Azure Pipelines agent for about 3 months now. The pipelines have started erroring out since today. Below is the error. The credentials are good as i am able to use the same and login to the environment. There have been no changes to the pipeline and the environment as well for the past several weeks.
2020-04-21T12:30:42.2820476Z ##[section]Starting: MSCRM Exports Solutions Using Config 2020-04-21T12:30:42.2923764Z ============================================================================== 2020-04-21T12:30:42.2924258Z Task : MSCRM Export Solutions Using Config 2020-04-21T12:30:42.2924725Z Description : Exports Dynamics 365 Solutions using a json configuration 2020-04-21T12:30:42.2925060Z Version : 9.0.4 2020-04-21T12:30:42.2925285Z Author : Wael Hamze 2020-04-21T12:30:42.2925570Z Help : This task invokes ExportSolutionRequest 2020-04-21T12:30:42.2925957Z ============================================================================== 2020-04-21T12:30:43.1364268Z Exporting Solutions 2020-04-21T12:30:46.2503313Z ##[warning]Invalid Login Information : An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. => Authentication FailureUnable to Login to Dynamics CRM Unable to Login to Dynamics CRM 2020-04-21T12:30:46.2514344Z ##[warning]Unable to Login to Dynamics CRM 2020-04-21T12:31:01.5030299Z ##[warning]Invalid Login Information : An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. => Authentication FailureUnable to Login to Dynamics CRM Unable to Login to Dynamics CRM