Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
@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.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |