Facing issue: 'login.microsoftonline.com refused to connect'. It faced while deploy .sppkg file to Site. Solution works fine with workbench, but not works when deploy.

Please suggest solution for this problem.

Thanks in advance!

enter image description here

1 Answer 1


One suggestion is to set isDomainIsolated = false in your package-solution.json file. This may solve the issue of login.microsoftonline.com refusing to connect.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.