Thanks Amit for valuable information and time.
Let me explain little more in detail. My Tableau is SSO enabled and working fine within the organisation. As you see the screenshot below of Publish to Tableau Server macro in Alteryx, it asks for Tableau username and Password. Here when i use my AD credentials then it does not work. I changed the server passwords for that user in Tableau and that password is working.
This password is the local password of server and not AD password. I want that my AD credentials should get work in this macro too. Hope that clears the question.
Thanks in Advance
Publish to Tableau Server