Redirect a User To Specific Page After Login To Dynamics 365 Portal | PowerApps Portal
the out of the box functionality is whenever you signing the PowerApps portal it redirects to the home page if you want to redirect to another page or your custom page follow this steps.
1) goto PowerApps Portal Management.
2) select the Web Template
3) open the Home Web Template.
JavascriptCode:
{% if user %}
<script>
debugger;
window.location.href='./dashboard/';
</script>
{% else %}
{% endif %}