web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Get-WSManInstance : f:Message>Access is denied.

(0) ShareShare
ReportReport
Posted on by

Hello. I am trying to deploy NAV 2015 on Azure virtual machine which is using 1VM topology. I have already created my account and also the storage on Azure. I've followed step-by-step in the tutorial video, https://www.youtube.com/watch?v=CNL-O5X2E8Q but it turned out has error.

 

I have setting all the parameters in Set-PartnerSettings - CUSTOM. ps1 and run the Example - 1VM.ps1.

 

VERBOSE: ===========================================================

VERBOSE: HowTo-CreateAzureVM starting at 2:23:07 PM...

VERBOSE: ===========================================================

VERBOSE: 2:23:11 PM - Completed Operation: Get Deployment

VERBOSE: Trying to use existing Azure VM MyNAV2015VM...

VERBOSE: Creating a remote PowerShell session to MyNAV2015VM.cloudapp.net/MyNAV2015VM...

VERBOSE: 2:23:15 PM - Completed Operation: Get Deployment

VERBOSE: 2:23:15 PM - Begin Operation: Get-AzureCertificate

VERBOSE: 2:23:20 PM - Completed Operation: Get-AzureCertificate

VERBOSE: Adding certificate with thumbprint 'xxx' to the 'Trusted Root Certificate Authorities' certificate s

tore on a local machine, in order to enable PowerShell remoting...

VERBOSE: 2:23:24 PM - Completed Operation: Get Deployment

Get-WSManInstance : <f:WSManFault xmlns:f="schemas.microsoft.com/.../wsmanfault" Code="5" Machine="xx"><f:Message>Access

is denied. </f:Message></f:WSManFault>

At C:\Cloud\NAVRemoteAdministration\Misc\Get-MaxMemoryPerShellRemotely.ps1:31 char:28

+ ... nRSconfig = Get-WSManInstance -ResourceURI winrm/config/winrs -Connec ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidOperation: (winrm/config/winrs:Uri) [Get-WSManInstance], InvalidOperationException

+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.GetWSManInstanceCommand

Can anyone gives me some solutions that I can use to solve this error? thank you in advance.. :)


*This post is locked for comments

I have the same question (0)
  • Suggested answer
    keoma Profile Picture
    32,729 on at

    did you start the powershell in admin mode ?

  • Community Member Profile Picture
    on at

    hi, jonathan. yes, I've started the powershell ise as admin.. is there any security that I must disable?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans