Webservice in Nav 2013 Cloud - Not accepting user login

MohammedMohammed Member Posts: 42
edited 2013-09-27 in NAV Three Tier
Hi All,

I've tried copying the Web Service url in browser and run it. It was prompting to enter user name and password. But it's not accepting any of the user credential which got access to the database. It just keep prompting to enter the credential. I'm doing it from Nav 2013 which is in Cloud environment. Any body have any info on this? Please help. Quite urgent.

Thanks,
Mohammed

Comments

  • ChristianDamm_[MSFT]ChristianDamm_[MSFT] Member, Microsoft Employee Posts: 15
    Are you saying you are entering database credentials? You need to enter your NAV user name and password (assuming you have configured NAV for NavUserPassword authentication).

    Br., Christian
    Christian Heide Damm
    Developer @ Microsoft
  • MohammedMohammed Member Posts: 42
    Hi Christian,
    I'm using windows login. does it not work?

    Thanks,
    Mohammed
  • MohammedMohammed Member Posts: 42
    Just got it solved :) In User Card there is Web Service Access tab. There we have to enable Web Service Access Key.

    Thanks,
    Mohammed
  • MohammedMohammed Member Posts: 42
    Every time it's asking to enter the user credential. I've tried setting Windows Credential. Still it's asking to login every time I open it in browser. Is there any way to get rid off this.

    Thanks,
    Mohammed
  • ChristianDamm_[MSFT]ChristianDamm_[MSFT] Member, Microsoft Employee Posts: 15
    For NAV web services, you can only achieve "silent login" if you have the NST configured for Windows authentication.

    You say you are in a cloud environment - is the cloud VM (which hosts the NST) and the machine you're connecting from (e.g. your laptop) on the same Active Directory? If yes, then Windows authentication should Work. If no, then you will probably have to live with having to sign in every time.
    Christian Heide Damm
    Developer @ Microsoft
  • joeydoodjoeydood Member Posts: 4
    "]For NAV web services, you can only achieve "silent login" if you have the NST configured for Windows authentication.

    You say you are in a cloud environment - is the cloud VM (which hosts the NST) and the machine you're connecting from (e.g. your laptop) on the same Active Directory? If yes, then Windows authentication should Work. If no, then you will probably have to live with having to sign in every time.

    he is correct. I've been able to achieve this only with a windows client connecting to a vm. I had an app server running on a vm and the nav db server running on a physical machine and developed in visual studio, consuming nav 2009 web services.
    if you are connecting using a mac (php dev?) then macs do not transmit the authentication in the same way.
  • joeydoodjoeydood Member Posts: 4
    Mohammed wrote:
    Every time it's asking to enter the user credential. I've tried setting Windows Credential. Still it's asking to login every time I open it in browser. Is there any way to get rid off this.

    Thanks,
    Mohammed

    OH!

    I almost forgot... and this may not matter in your case... but it's worth mentioning...

    make sure the credentials on the app server is set to LOGON AS A SERVICE.
    you have to go into the machine settings I think to set that but add that user to the list on that setting.

    google logon as a service +windows
Sign In or Register to comment.