@BenjaVaisberg Thanks for reaching out. As per the error it looks like the module might not have correctly loaded or installed on your function runtime.
You should be leveraging the requirement.txt file rather than import_module
mod = importlib.import_module(fullmodname)
If you have any requirement where you need to use any other packages that are not predefined in the functions then you need to add the names or names along with versions of the required packages to the requirements.txt file. Please refer to this document for more details. As you are leveraging the Google BigQuery API so I believe this would be the python package that you should be leveraging.
To troubleshoot these types of errors you can always refer to this document.
Your requirement.txt file will be as below but in case if you are using any other packages then please make sure that you have defined the same.
azure-functions
google-cloud-bigquery
For your reference, I will suggest you to review this article which will can help you to monitor azure function. Once you have set it up you can see the above error in application insights. You can also see these exceptions in the storage account that you have configured on your function app.
Please refer to Azure function python document to get more familiar with the development and update your python code according.
Feel free to get back to me if you have any queries or concerns.