# Deploy AzureAD from a Clarion Desktop App

**URL:** <https://clarionhub.com/t/deploy-azuread-from-a-clarion-desktop-app/7789>\
**Category:** questions\
**Tags:** security\
**Created:** [December 30, 2024, 6:32pm UTC](https://clarionhub.com/t/deploy-azuread-from-a-clarion-desktop-app/7789 "2024-12-30T18:32:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luisirala](https://clarionhub.com/user_avatar/clarionhub.com/luisirala/32/3319_2.png) [@luisirala](https://clarionhub.com/u/luisirala)\
**Post date:** [December 30, 2024, 6:32pm UTC](https://clarionhub.com/t/deploy-azuread-from-a-clarion-desktop-app/7789/1 "2024-12-30T18:32:03Z")

</div>

Hi Friends,

I have a client using a Billing application that uses the supersecurity template for login and permissions, this system has been in use for a while now. This client is using Microsoft AzureAD to manage their other corporate applications and now they are asking us to use this service from our application (desktop app) made in Clarion 10.0.12799 for user account authentication.

I have no idea how to do this from my application?  
Could someone please help me, I'm lost.

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [December 30, 2024, 6:46pm UTC](https://clarionhub.com/t/deploy-azuread-from-a-clarion-desktop-app/7789/2 "2024-12-30T18:46:54Z")

</div>

While you’re waiting for an answer from someone who knows about it, here’s something to read. 🙂 [NetTalk LDAP](https://www.capesoft.com/docs/NetTalk10/NetTalkLDAP.Htm)

---

<div class="post-metadata">

**Author:** ![luisirala](https://clarionhub.com/user_avatar/clarionhub.com/luisirala/32/3319_2.png) [@luisirala](https://clarionhub.com/u/luisirala)\
**Post date:** [December 30, 2024, 6:51pm UTC](https://clarionhub.com/t/deploy-azuread-from-a-clarion-desktop-app/7789/3 "2024-12-30T18:51:16Z")

</div>

Hi jslarve,

Thanks a lot for the link, unfortunately I don’t have the Nettalk template.

😭

---

<div class="post-metadata">

**Author:** ![Jane](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/ecb155/32.png) [@Jane](https://clarionhub.com/u/Jane)\
**Post date:** [December 30, 2024, 7:27pm UTC](https://clarionhub.com/t/deploy-azuread-from-a-clarion-desktop-app/7789/4 "2024-12-30T19:27:57Z")

</div>

If you’re “lost” you’re probably not going to get un-lost quickly.

As Jeff says, using NetTalk’s LDAP template to communicate to on-premises Active Directory is straightforward. I do that all the time.  
If you were trying to do that and did not own the NetTalk template, the question would be how much your time is worth? There’s nothing magic about NetTalk. You could figure out how to do what it does just using Clarion. But the development of that for just the LDAP part would probably take hundreds of hours, unless you already have a good understanding.

Is your client’s Active Directory only in Azure or do they also have local domain controller(s)? If they have local, then NetTalk LDAP would work.

Googling just now, it seems that LDAP against Azure AD is not straightforward.  
And it’s one thing just to query it (does a user exist, is the user in a particular group). It’s another thing to authenticate the user with his Active Directory username and password. (Easy with on-premesis AD and NetTalk).

Here are a few links that might give some hints:

> **[Tutorial - Configure LDAPS for Microsoft Entra Domain Services - Microsoft...](https://learn.microsoft.com/en-us/entra/identity/domain-services/tutorial-configure-ldaps)**
>
> In this tutorial, you learn how to configure secure lightweight directory access protocol (LDAPS) for a Microsoft Entra Domain Services managed domain.

> **[How to connect to Azure Active Directory data using LDAP server - Microsoft...](https://learn.microsoft.com/en-us/answers/questions/1792570/how-to-connect-to-azure-active-directory-data-usin)**
>
> We are trying to get Azure Active Directory data like AD Users, AD Groups into ADLS. There is one LDAP server configured. How to fetch data from AD into ADLS. Please let me know in detail. Thank you for your help.

There’s also documentation for a REST API

> **[Azure REST API reference documentation](https://learn.microsoft.com/en-us/rest/api/azure/)**
>
> Reference documentation for Azure REST APIs including their supported operations, request URI parameters and request bodies, responses, and object definitions.

---

<div class="post-metadata">

**Author:** ![luisirala](https://clarionhub.com/user_avatar/clarionhub.com/luisirala/32/3319_2.png) [@luisirala](https://clarionhub.com/u/luisirala)\
**Post date:** [December 30, 2024, 9:00pm UTC](https://clarionhub.com/t/deploy-azuread-from-a-clarion-desktop-app/7789/5 "2024-12-30T21:00:00Z")

</div>

Hi Friends,

I was talking to my boss and he told me that he decided to buy the Noyantis Chilkat template that allows you to connect to AzureAD, but I see that he doesn’t have an implementation example.

If anyone can help me with this template I would really appreciate it. My Clarion version is 10.0.12799.
