Hi,
I have cracked it.
I am updating just sql servername and Path in model.bim file while deploying through Yaml pipeline.
And I create a token and add in the credential part before refreshing the cube.
The tokens are created by Automation account that has an identity attached to AAS.
Thanks you all for responses.