Skip to content

💪🏽 Power Apps Component Framework Authentication

License

Notifications You must be signed in to change notification settings

ugreg/pcf-authentication

Repository files navigation

License: MIT

Power Apps Component Framework Authentication

App package size workaround

Run with msbuild /t:restore on Visual Studio cmd line. Import the into the CDS SQL Database from the UI or using a script. Located in bin\debug.

Uses Office UI Fabric styles and controls. Uses OpenId Client Settings.

Authenticate using pac auth. In the component folder at the package.json level.

pac solution init --publisher-name Greg --publisher-prefix grdegr
pac solution add-reference --path .\AuthenticationComponent
msbuild /t:restore
msbuild

Push Component to CDS.

pac pcf push -pp grdegr -v minimal

Creates a prefix_Namespace.ComponentName control if changes are made to any of it's resource. The WebResource containing all of these PCF resources are located in prefix_Namespace.ComponentName/bundle.js.

If you face this Error: WebResource content size is too big. can use temporarily use this hack that involves increasing the size limit of email attachments from the 5120 KB to something larger.

Connect pac to CDS

  1. Make sure global action step is activated
  2. Make sure global action step is registered in Plug-in registration tool
  3. deploy.bat

Releases

No releases published

Packages

 
 
 

Languages