
I have a Textbox in Power apps form which value changes based on another textbox and dropdown selection. For example, I have a Title textbox, and a Company textbox, which values combine to form a URL like: https://mysite.sharepoint.com/sites/companyValue.text+titleValue.text into another textbox called URL.
My goal is to run following API: _api/GroupSiteManager/GetValidSiteUrlFromAlias?alias=%27Test%27&isTeamSite=true to check if the URL exists or does not exist in the tenant. Therefore, I was thinking maybe I can use OnChange on the URL textbox but I am not able to what so ever.
You can't do it from Power apps from scratch, but you can create custom connector to do it (and call it from OnChange event)