Invalid provider type specified using Azure Functions
BigQueryProvider in an Azure Functions project runs into error message
"Invalid provider type specified"
It can be fixed using "X509KeyStorageFlags.MachineKeySet"
https://github.com/DevExpress/BigQueryProvider/blob/develop/BigQueryProvider/BigQueryConnection.cs
line https://github.com/DevExpress/BigQueryProvider/blob/ff4aa3b6b37733d9109a4744e9c375f302bfc7ee/BigQueryProvider/BigQueryConnection.cs#L357
Old
new X509Certificate2(PrivateKeyFileName, "notasecret", X509KeyStorageFlags.Exportable);
New
new X509Certificate2(PrivateKeyFileName, "notasecret", X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.Exportable);
Tested myself and described here https://www.channels.elastacloud.com/channels/software-engineering/invalid-provider-type-specified-service-account-auth https://gist.github.com/dbchudasama/434ff9138ca12e657ad1bf5254aafc0c