SOLVED

Script - failed to authenticate and create a new session

Copper Contributor

We have a script created by someone else that we utilize for our onboarding processes. The powershell script runs automatically as a file is dropped in a particular folder but recently, we've begun to receive an this error 

avinson1_1-1709069538744.png

 

Any guidance would be appreciated. 

2 Replies
It's probably using an expired app registration, but without knowing how the script connects... It's guessing ;) We need a bit more information than this. Could you share the authentication part and, please, strip any tenant details and app id's/secrets from that and replace them with x-'s
best response confirmed by Harm_Veenstra (MVP)
Solution

@Harm_Veenstra Thank you for your quick response. We've determined the issue is related to MFA authentication and we're looking at the script to re-write. 

1 best response

Accepted Solutions
best response confirmed by Harm_Veenstra (MVP)
Solution

@Harm_Veenstra Thank you for your quick response. We've determined the issue is related to MFA authentication and we're looking at the script to re-write. 

View solution in original post