cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

PowerApps BuildTools: Export Solution - MFA Problem

Hey guys, 

 

we had a security update, which forces us to us MFA on all of our accounts. Since then our build pipeline for D365 CRM Solutions isn't working anymore. 

 

##[error]Failed to connect to instance: [...] Please verify your credentials for *** and instance url.
ERROR REQUESTING Token FROM THE Authentication context
ERROR REQUESTING Token FROM THE Authentication contextOne or more errors occurred. => AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000007-0000-0000-c000-000000000000'.
 
Any advise on how to solve this MFA Problem?
5 REPLIES 5
Highlighted
Regular Visitor

Re: PowerApps BuildTools: Export Solution - MFA Problem

If you use a personal user to authenticate, you can generate an app password and use this to authenticate.

If you use a service user, you should ask your O365 admin to enable bypass MFA for this service user.

Highlighted
Community Support
Community Support

Re: PowerApps BuildTools: Export Solution - MFA Problem

Hi @peter123 ,

Based on the error message that you mentioned, it seems to tell that your O365 Administrator has made some changes to your account or your account has been moved a different location.

 

I agree with @Menik1 's thought almost. Please check if you have enabled MFA Authentication option for your account, if ture, please consider disable the MFA Authentication or ask your Administrator to bypass the MFA server for your account.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Microsoft
Microsoft

Re: PowerApps BuildTools: Export Solution - MFA Problem

Hi Kris,

 

Is support for MFA planned in PowerApps Build Tools?

 

Thank you,

Vijay

Highlighted
Regular Visitor

Re: PowerApps BuildTools: Export Solution - MFA Problem

@peter123 see if you can use app-passwords for your MFA account as mentioned here.

 

https://support.office.com/en-us/article/Create-an-app-password-for-Office-365-3e7c860f-bda4-4441-a6...

Highlighted
Advocate I
Advocate I

Re: PowerApps BuildTools: Export Solution - MFA Problem

Hi 

 

Facing similar issue for the Export Solution. Is there a way to setup similar to the PowerChecker Solution task (Service Principal and Service Principal Key) in Azure AD for the Service Connection ?

 

Thanks

Manish

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (6,076)