Hi, i'm trying to put a button for login with azure active directory, but when i click on the button this redirect to the default login page of power pages. Is any way to solve this problem ?
this is code and snap of the error that i get.
Hi, i'm trying to put a button for login with azure active directory, but when i click on the button this redirect to the default login page of power pages. Is any way to solve this problem ?
this is code and snap of the error that i get.
I have default login set to azure ad b2c as per requirement so its takes me to above page. Here I need to add button for azure ad login for internal users.
You can give both the button in the same page and user can able to choose any one while clicking sign in show the two button .
I have put Azure AD B2C as default authentication method and whenever I click on the Sign-In button it automatically redirects to the login of Azure B2C which is what I wanted for external users.
All that remains now is for me to put a link somewhere, in the footer for instance, for internal users to login using Azure AD.
The link should do the same thing that the Azure AD button used to do in the default sign-in page.
need to insert Azure Ad login button in the highlighted part
Hi Bharath106, can you provide the screenshot of the issue
Did you get to know how to achieve that scenario.
Any pro developers can you pls provide solution for it.
It is easy to use only Azure AD as authentication method.
In my case I need to use both Azure AD (for internal users) and Azure AD B2C (for external users).
I need to have both buttons in my custom pages in the form of a button of a link itself.
Is there a way to achieve this ??
For now I have put Azure AD B2C as default authentication method and whenever I click on the Sign-In button it automatically redirects to the login of Azure B2C which is what I wanted for external users.
All that remains now is for me to put a link somewhere, in the footer for instance, for internal users to login using Azure AD.
The link should do the same thing that the Azure AD button used to do in the default sign-in page.
Any pro developers of PowerPage plz help, I am new to this platform.
Hi @Anonymous
Please follow the instructions from @Fubar
In addition, I wrote an article a while ago to achieve what you expect.
NB: Usually single sign-on is the best way which will avoid a button click and improve user experience smoothly
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
Hii @Anonymous
please refer this link Enable Azure AD B2C custom domains - Azure AD B2C | Microsoft Learn you can get some idea
Thank you for answer, but I need the button on the home page
If you are only going to use 1 login provider, then (from the App that is created for your Portal in the Maker interface, under Settings->Authentication Settings ) you can disable all other other enabled providers and set the 1 you want to use as default, and then when the Portals Login page is loaded it will auto redirect to that provider.