Put script checking if this server is running on Azure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2024 11:13 AM
Hi,
When checking the logs in Windows OS - Servers pattern I'm seeing an issue where step 40.2.2 tries to put a script into $scriptPath path which succeeds but no path is entered. In the Debug, a null value is returned. I've attached 2 screenshots with one where it does successfully put and execute the script and the other showing a null path. This leads to ${isAzure} : value=false and therefore object_id does not get set on guest server and no relationship to the VM instance is made.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2024 05:05 AM
Hi,
Is the ConfirmAzureVM.ps1 script copied to the c:\temp folder? If not, then there may be some permission issues preventing that operation.
Regards,
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2024 07:11 AM
Hi Niklas. I am currently looking down this path. It may be due to security reasons or some differences in Group Policy that prevents copying despite having T1 level admin access and full control over the folders. I have another situation where the script does execute but times out. Overall, the server gets discovered but it's failing at a crucial step that stops the VM objects getting related to the guest server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2024 06:57 AM
Hi Jack,
Have you found what the reason is behind this?
TIA