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 AX (Archived)

Consume product configurator from an external client

(0) ShareShare
ReportReport
Posted on by

Hi all

I made it working to create an small PHP/HTML/JS-Application (signalR) that creates a configuration form by the initial XML of the configurator.

The application listens for repsonses of the signal R stream and sends the requests to ax during the configuration - as far as good :)

Now the whole thing works while Iam logged in dynamics ax. Because the negotiating of signalR is calling the following URL:

https://usnconeboxax1aos.cloud.onebox.dynamics.com/ProductConfiguration/signalr/negotiate?clientProtocol=1.5&connectionData=%5B%7B%22name%22%3A%22configurator%22%7D%5D&_=1537362390683

It returns the following JSON-Object:

{"Url":"/ProductConfiguration/signalr","ConnectionToken":"C7IJ66heitNAWH6zckvloY0P2iQh9TnNSwbhACy+AODDc3FF0lrl4t927ydBF+zRNQ25eioN1960SFUk5jRVqJJDaXbr87lTsmHdrx3nfriRMFP1VI1ZMupLzOxxQAhGqUE7w+yKgX/B5N72SwItU29lwH0uZRnBJIIeZkkeH8U=","ConnectionId":"4563b566-33a4-4b3b-a773-8fad3e38497f","KeepAliveTimeout":20.0,"DisconnectTimeout":30.0,"ConnectionTimeout":110.0,"TryWebSockets":false,"ProtocolVersion":"1.5","TransportConnectTimeout":5.0,"LongPollDelay":0.0}


The ConnectionToken is used for all requests agains the configurator. The problem with this url: I only can access this url when I am logged in dynamics.

If I log out the signal R-URL does not provide a token and redirects me to the microsoft login.

The target is to have an external user have access to the configurator but not AX. Is this possible?

Can you logon https://login.microsoftonline.com without the form and just by code / curl


And is there a way to allow access to one IIS application (product configurator) but nor dynamics 365?

Thanks in advace - Alex

*This post is locked for comments

I have the same question (0)

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans