title: How can we configure credentials of a power bi report using powershell cmdlets
body: <p>I have published report on power bi service using powershell cmdlets, but after being published to see the reports i have to provide credentials manually in power bi service. </p>
  
  <p>Right now I am using this API "Data-sets - Update Data-sources In Group" to configure the connections details but in this i have to manually change credentials from power bi service.</p>
  
  <p>NOTE: I'am using direct query to get data for my reports</p>
  
  <p>This is the error I am getting,
  <a href="https://i.stack.imgur.com/ERRqV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ERRqV.png" alt="enter image description here"></a></p>