Error creating Subsite from template

Hi,
I have a flow that creates subsites from templates. It worked well until now, but now I'm getting an error:
{
"request": {
"url": null,
"traceId": "0HLT4S0H3MCLI510e40ae2e7"
},
"error": {
"code": "ApplicationResultException",
"message": "AADSTS50126: Error validating credentials due to invalid username or password.",
"date": "2020-01-29T19:14:16.1993764Z"
}
}

No credentials were changed and API key is still valid.
Any idea?
Thanks!

Hello, David.

Please create another custom credential API key and enter your login in format user@company.onmicrosoft.com (instead of user@company.com). Make sure that multi-factor authentication is disabled for the account and legacy authentication is not blocked in conditional access preferences. Don't forget to update your Plumsail Actions connection to replace the old API key.

To check the conditional access policies, a global admin should visit Azure AD admin centre.

image

Thanks for your answer!
No more credential issue, but now I'm getting a 404 error:
{
"request": {
"url": null,
"traceId": "0HLT8EC4B9FAV7Fda40b04d"
},
"error": {
"code": "ApplicationResultException",
"message": "The remote server returned an error: (404) Not Found.",
"date": "2020-02-03T07:58:06.0536763Z"
}
}

David, I would advise you to check the field SharePoint Site URL. There should be specified a URL of an existing site collection. To avoid a mistake, just visit the one and copy its URL from an address line of browser.

image

Found the error! Thanks a lot for your help

1 Like