Microsoft Dynamics 365 Scope: Cannot connect to server. Please check your credentials

My credentials are working in browser but when I try to connect from UiPath activity(Microsoft dynamics socpe) its not working