web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Custom Certificate Cre...
Power Pages
Unanswered

Custom Certificate Creation for Auth 2.0 implicit grant flow

(1) ShareShare
ReportReport
Posted on by 2

Hello All,

 

I'm trying to set up OAuth 2.0 implicit grant flow in my Power pages site for calling external API and I'm following the below documentation - 

https://learn.microsoft.com/en-us/power-pages/security/oauth-implicit-grant-flow 

https://learn.microsoft.com/en-us/power-pages/admin/manage-custom-certificates

 

As per the documentation, a custom certificate needs to be created and uploaded to the Power page site administration. So I'm trying to generate a certificate using Let's Encrypt certbot through the following command -

 

 

certbot certonly --manual --preferred-challenges=dns -d testportal.powerappsportals.com

 

 

 

After running the above command, as my power pages site doesn't use a custom domain, I'm not able to find out where to add the DNS TXT record for completing the challenge or If I should use a different challenge for the power pages.

 

Thanks in advance for the help.

Categories:
I have the same question (0)
  • premie21 Profile Picture
    8 on at

    Did you get any solutions for this?

  • jameson1 Profile Picture
    2 on at

    I originally posted this question but I lost the credentials to the account I used for that.

     

    I ended up creating a Microsoft ticket for this and they informed me that the custom certificate needed for calling an external API doesn't need to verified by a Certificate Authority and a self signed certificate would work.

     

    The requirements mentioned in the following document applies only for the custom certificate needed for setting up a custom domain for the site and not for calling an external API.

    https://learn.microsoft.com/en-us/power-pages/admin/manage-custom-certificates

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 29 Most Valuable Professional

Last 30 days Overall leaderboard