Webservice in Nav 2013 Cloud - Not accepting user login
Mohammed
Member Posts: 42
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
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
0
Comments
-
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., ChristianChristian Heide Damm
Developer @ Microsoft0 -
Hi Christian,
I'm using windows login. does it not work?
Thanks,
Mohammed0 -
Just got it solved
In User Card there is Web Service Access tab. There we have to enable Web Service Access Key.
Thanks,
Mohammed0 -
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,
Mohammed0 -
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 @ Microsoft0 -
"ChristianDamm wrote:"]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.0 -
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 +windows0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions