Hi,
My infrastructure looks:
- Server 1 (internal and external network): Web Application Proxy
- Server 2 (only external network): DS, CA, FS
I try to configure Azure AD Connect to links Federation Services and Microsoft 365.
Im not able to do that because on Server 2 not work Remote Powershell.
When i try to run command "enable-psremoting –force" i get error:
remove-item : Access is denied.
At line:69 char:21
+ ... remove-item -path "$securityIDPath" -recurse -force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Remove-Item], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.RemoveItemCommand
What is important this error appear only when federation server is installed.
I try to perform this command before install FS it work correctly.
If i remove FS and try to use command works correctly.
So the question is what happen and how to solve this issue. This error block me installation of Azure AD Connect.