Notifications
Announcements
No record found.
I'm wondering if there is a way from a Dynamics Portal page to securely call an Azure App Service with only allowing either authenticated users or only calls from the Dynamics Portal?
*This post is locked for comments
You have asked several questions:1) Calling from the portal page azure app service allowing for authenticated users:Either way access to the specific page you can easily grant just to specific web-role including auth users role using Web page access control rules - https://docs.microsoft.com/en-us/dynamics365/customer-engagement/portals/webpage-access-control
From that page, you can call app service with Javascript, and not-auth users will be returned back to the Login screen.2) Another way to call app services is from code behind in .NET. You can read PoC here - https://uds.systems/2017/03/20/how-to-run-custom-code-in-dynamics-365-portal/
3) Allow calls from Dynamics Portal (you need to limit Azure App Service to accept calls only from specified IP range. Hopefully MS didn't change it often)
Thank you for your response.
This is more what I'm looking for:
Dynamics Portal <- (allowed) -> Azure App Service <- (not allowed) -> Public
To restrict usage of Azure App Service to just some IP Addresses you can use : docs.microsoft.com/.../app-service-ip-restrictions
If you use to authenticate your users with Azure AD B2C you can limit access to the Azure App Service to specific users from the Portal using msftplayground.com/.../restricting-access-to-your-azure-web-application (second section)
As well if you are relying on Azure AD B2C you can build really secure interaction with portal companion application
github.com/.../dynamics-portal-companion-app
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2