midserver error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 05:16 AM
Afternoon all
We are coming across an error when trying to either create or update a user in AD, but only since we upgraded to Yokohama. The mid server is still up and running. The error message is this:
import-module : A device attached to the system is not functioning
At C:\MID\ServiceNow MID Server midserver_dev\agent\scripts\PowerShell\ADSpoke\GetUserAndManager.ps1:1 char:1
+ import-module activedirectory -warningaction "SilentlyContinue";
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (AD:PSDriveInfo) [Import-Module], ADException
+ FullyQualifiedErrorId : ADProvider:NewDrive:InvalidRoot:ADError,Microsoft.PowerShell.Commands.ImportModuleComman
d
At C:\MID\ServiceNow MID Server midserver_dev\agent\scripts\PowerShell\ADSpoke\GetUserAndManager.ps1:1 char:1
+ import-module activedirectory -warningaction "SilentlyContinue";
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (AD:PSDriveInfo) [Import-Module], ADException
+ FullyQualifiedErrorId : ADProvider:NewDrive:InvalidRoot:ADError,Microsoft.PowerShell.Commands.ImportModuleComman
d
Has anyone come across this before or know what updates I need to make to fix it?
Thanks
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 05:20 AM
Hi @Jack62
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0724364
*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 05:23 AM
Hi @Jack62
Have you checked the below article from Servicenow.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0724364