Skip to content

Test-SRTopology: Unable to create CIM Session when user is not a member of the same domain. #4114

Description

@Harpolean

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."

Links

https://github.com/MicrosoftDocs/windows-powershell-docs/blob/main/docset/winserver2025-ps/StorageReplica/Test-SRTopology.md

Summary

Running the "Test-SRTopology" cmdlet fails to connect establish a remote cim session on the specified DestinationComputerName when the user is not a member of the same domain of the server, regardless of whether FQDN is specified or not.

Details

When the CIM Session is attempted to be established by the cmdlet, it seems to truncate the input when an FQDN is specified in the "DestinationComputerName" parameter back to NetBIOS, which then subsequently fails Kerberos Authentication and throws a generic connection error.

Behaviour is experienced when the user is a member of another domain in the same forest or an external forest.
CIM Sessions are able to be established to the Destination Computer outside of this cmdlet successfully when FQDN is specified.

Suggested Fix

Passthrough the non-truncated input specified by the user in the input parameters OR update the documentation to reflect this requirement in using the cmdlet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue-doc-bugSomething is out of date, unclear, confusing, or broken in the article. Blocks customer success.needs-triageWaiting - Needs triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions