Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
@Anonymous @miguel
I am trying to develop a test connector to a ms-sql server using pqsdk. this is giving me a credential error as following.
This is the production server which I can connect using power query's built-in sql connector and it requires me to put my credential through OAuth Log in window.
I am not sure how can I achieve this?
Hi @smpa01 ,
Make sure that the pqsdk settings contain the correct OAuth configuration. This may involve setting up the OAuth Client ID, Customer Secret, and Redirect URI correctly.
Verify that the code retrieves and uses the OAuth token correctly. You may need to implement a process to handle the OAuth sign-in and token retrieval process.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is there a working example of OAuth you can share for me to refer the use case please. I don't have experience here.
Hi @smpa01 ,
Sure! Here are some useful resources that provide detailed examples and guides on implementing OAuth:
How to implement OAuth 2.0 in Node.js - LogRocket Blog
The complete guide to protecting your APIs with OAuth2 (part 1) - Stack Overflow
Guide to implementing OAuth 2.0 (with examples)
These resources should help you understand and implement OAuth in your project. If you need further assistance, feel free to ask!
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 8 | |
| 8 | |
| 7 |