
I am trying to build out a custom action to access Azure Key Vault from inside a desktop flow. However, the current packages needed to make this work require a binary redirect in .Net Framework, since there are different versions for dependent packages.
I have tried to do the binding redirect but have found I cannot handle the AssemblyLoadEventHandler within a custom action, when running within PAD. It does, however, work when running through Visual Studio.
Since .NET Core is more relaxed on the assembly binding I wanted to see if anyone knows if it is possible. When I try to use an action built with .NET Core I get the error "Failed to initialize module loader." when trying to import into PAD.
These are the current packages that I am looking to include to create the action.
<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.10.4" />
<PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.5.0" />
<PackageReference Include="Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK" Version="1.4.237.23279" />
</ItemGroup>