Jump to content

AADSTS700016: Application with identifier 'abc' was not found in the directory


Recommended Posts

Posted

Good afternoon all,

 

I'm trying to solve a problem I previously posted about regarding an Intune remediation script not being digitally signed anymore and to investigate further I am trying to export the script using the guidance from Oliver Kieselbach but I get the following error when running the suggested script:

 

"Sign in

 

Sorry, but we’re having trouble with signing you in.

 

AADSTS700016: Application with identifier 'abc' was not found in the directory 'xyz'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant."

 

The script is meant to retrieve all remediation scripts from Intune, I'm thinking if I can get the remediation script out I can check it's signature status.

 

Does anybody have any suggestions on how I can solve the original issue (remediation script not running) or this one, please?

 

Thanks

Posted
Good afternoon all,

 

I'm trying to solve a problem I previously posted about regarding an Intune remediation script not being digitally signed anymore and to investigate further I am trying to export the script using the guidance from Oliver Kieselbach but I get the following error when running the suggested script:

 

"Sign in

 

Sorry, but we’re having trouble with signing you in.

 

AADSTS700016: Application with identifier 'abc' was not found in the directory 'xyz'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant."

 

The script is meant to retrieve all remediation scripts from Intune, I'm thinking if I can get the remediation script out I can check it's signature status.

 

Does anybody have any suggestions on how I can solve the original issue (remediation script not running) or this one, please?

 

Thanks

 

In Intune if you go to your proactive remediations you can copy and paste the script from the settings page for each remediation. You will likely need to re-sign the script and upload it again. You might also just be able to turn off Enforce script signature check for the one that is giving you problems.

Posted

Thanks @NicholasEsping

 

I can see the 'Enforce script signature check' is already set to no.

 

The reason I would like the actual script out is so I can run get-authenticodesignature against it to see what is going on.

 

I didn't set this up initially and as I understand it my predecessor self signed it and used the domain controller to issue it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...