Forum Discussion
CompanyID is not returning from Business central for BC API Companies
- Anonymous1 year ago
Thanks, am able to get the CompanyID information from Postman and even with Spark notebooks also, not sure why pipelines is not returning the CompanyID.
I implemented the Bearer token authentication approach in notebook and loading the data to fabric lakehouse in config table from there am referencing it for my needs.
Hi Anonymous
Ensure your Bearer token has adequate permissions by checking the Azure AD app registration and its role assignments in Business Central
Use tools like Postman or Power Query to directly test the API endpoint and confirm whether `CompanyID` is returned outside of Fabric Data Pipeline
If the issue persists, consider using Power Query or Spark Notebooks within Fabric to extract data directly from Business Central APIs
Thanks, am able to get the CompanyID information from Postman and even with Spark notebooks also, not sure why pipelines is not returning the CompanyID.
I implemented the Bearer token authentication approach in notebook and loading the data to fabric lakehouse in config table from there am referencing it for my needs.