Refresh your data in Power BI WITHOUT a user???

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024
  • Can a Power BI Dataset be setup to refresh without an actual user? It would be great from an automation perspective and to avoid being tied to someone specific. Adam digs in.
    Service Principal Video:
    • Power BI Service Princ...
    Add-DataGatewayClusterUser (DataGateway CMDLET - Add to Admin List)
    docs.microsoft...
    Add-DataGatewayClusterDatasourceUser (DataGateway CMDLET - Add to Datasource User list)
    docs.microsoft...
    Invoke-PowerBIRestMethod (Power BI CMDLET)
    docs.microsoft...
    Datasets - Take Over In Group (Power BI CMDLET / REST API)
    docs.microsoft...
    Datasets - Bind To Gateway In Group (Power BI CMDLET / REST API)
    docs.microsoft...
    📢 Become a member: guyinacu.be/me...
    *******************
    Want to take your Power BI skills to the next level? We have training courses available to help you with your journey.
    🎓 Guy in a Cube courses: guyinacu.be/co...
    *******************
    LET'S CONNECT!
    *******************
    -- / guyinacube
    -- / awsaxton
    -- / patrickdba
    -- / guyinacube
    -- / guyinacube
    -- guyinacube.com
    **Gear**
    🛠 Check out my Tools page - guyinacube.com...
    #PowerBI #Refresh #GuyInACube

Комментарии • 47

  • @jesus21282
    @jesus21282 3 года назад +15

    Hi Adam and Patrick! This is such an amazing thing you did there. We usually struggle when we somebody takes over the dataset and forgets to replace the Missing credentials with their own so we only find out when the refreshes are delayed.
    A question would be, what happens if After this configuration, someone re-uploads the dataset with changes?? Will this configuration need to be Done Again??? It would be nice if the service retained the Service Principal setup you did there.
    Thanks for the AMAZING tip😍

    • @taylorstringe9823
      @taylorstringe9823 Год назад +1

      Interested in the answer to this if you ever found out.

  • @aamoody81
    @aamoody81 Год назад +1

    These are the types of videos that motivate me to have my end users go watch your other videos. More like this would be great.

  • @partymaschine92
    @partymaschine92 3 года назад +4

    totally mind blowing topic 😂 to gain more flexiblity we usually use specific report designer user which is the owner of most of the reports and the corresponding datasets - maybe not the most efficient way but it works fine for us. But, I definitely have to think about the advantages of your way how you are doing it ~~ I am totally amazed by your channel !! thx Adam and Patrick

  • @valentpawar4316
    @valentpawar4316 3 года назад +3

    Wow!! talk about following some industry standards to mange access to refresh data. This is great, setting this up and managing would be another task all together but its definitely a process to inculcate.

  • @danielfawcett1179
    @danielfawcett1179 3 года назад +2

    Thanks for another great video. Definitely have use cases in mind already and looking forward to testing this out with scheduled refresh enabled.

  • @Acheiropoietos
    @Acheiropoietos 3 года назад +2

    I’ve been try to do this for the last two weeks! Thanks guys!

  • @naveen200848
    @naveen200848 3 года назад +9

    Nice but little fast. Can we have some step by step instruction notes please in description or comments

  • @howiefu5282
    @howiefu5282 Год назад +2

    Hi Adam, would the service principal works for SSAS data source on the on-prem data gateway?

  • @Anandhamurugant
    @Anandhamurugant Год назад +2

    Thanks for the video it explains about the on premise data source. But the same is not working when we set up the credentials for azure sql data source.could you please explain the same in your next video as I couldn't find any documentation from Microsoft regarding the cloud data source credentials setup. Thanks

  • @singhrakeshr
    @singhrakeshr 3 года назад +3

    I did all that 3 months ago and believe me it wasn't easy.. although few tickets to microsoft helped figure out... especially the managed service identity.. lets see if you can take over a dataset which is inturn connected to dataflow and refresh it via service principal.. shall we?

    • @Dennis2771981
      @Dennis2771981 10 месяцев назад

      Hi ! Did you figure out how to use a managed Identity to refresh a dataset - I am using a managed identity using ADF to trigger a refresh to data in kusto but getting same error as in the video. we dont use gateways ( afaik ) . any idea what needs to be done to get rid of this error ?

  • @kunalr_ai
    @kunalr_ai 3 года назад +2

    Very complex video ... please provide any article on this.

  • @daryllynch998
    @daryllynch998 3 года назад +2

    Hi Adam, I understand the Service Principal owning the Dataset and configuring it to use the Data Source via the Gateway. However, what if the Dataset is connecting to Cloud resource. For example, what if it is using a Dataflow. I was unsure if your Geography example covered my answer. While it appears to pull from a URL it is not clear if OAuth2 or API Key authentication is required (question would the privacy setting change when switching from user to service principal?). Could you please clarify how the authentication for the cloud data?

    • @GuyInACube
      @GuyInACube  3 года назад

      The data source, configured in the gateway, will have a set of hard coded credentials. For the Geography piece, that was anonymous. So that is dependent on what the connector supports. It's not really related to the service principal starting the refresh, or using data sources configured on the gateway.

    • @tareksalha
      @tareksalha 2 года назад +1

      I know it is late, but to answer the question: we tested this and apparently even for cloud data sources there is a gateway cluster being involved. This one is hidden from the end users, but from power shell you can get its guid. Thus, the same process in the end… 😉

    • @tzuhsienyang5507
      @tzuhsienyang5507 2 года назад +1

      @@tareksalha Hello! Would you mind saying it more? How can we find out the hidden gateway for cloud data source?

    • @Avinash75
      @Avinash75 2 года назад

      @@tareksalha Can you please detail a bit more as i was able to get to the step where service principal take ownership but beyond that all steps give an error when the hidden gateway is used in the commands for adding service principal to the gateway and updating the datasource credentials

  • @YouTubeUTube1
    @YouTubeUTube1 Год назад

    Hi Adam and Team,
    Question is where to give permission, What max permission should give and where? i.e. RBAC or Azure Ad level permission?

  • @devolytics-by-akash
    @devolytics-by-akash 4 месяца назад

    I am getting command not recognised error in the same power shell as you are showing.
    Can you please help me to resolve the issue. i am using Web as data source and when I am using dataset.Takeover API I am unable to refresh my data source from the refreshes API.
    I am getting ErrorCode: DMTS_UsersNotFoundError while running your command and I am tired finding the solution but didn't getting it.

  • @KheireddineAzzez-l3g
    @KheireddineAzzez-l3g 8 месяцев назад

    Hi, I have question regarding refreshing the report by using the PowerBI API, is that possible ?

  • @iqktorch
    @iqktorch 2 года назад

    Hi Adam and Patrick thanks for this video would the gateway also apply if my Datasource is from an azure database?

  • @danhorus
    @danhorus 3 года назад +7

    This should be much simpler :/

  • @tarikguetarni7082
    @tarikguetarni7082 3 года назад

    Hello, i'm actually facing an issue using a Service Principal with /refreshSchedule API call (-Method PATCH). Do you know if it is possible ? It sends me a bad request

  • @mauricioroldanramirez821
    @mauricioroldanramirez821 2 года назад

    Hello thanks for all your videos. I have a report stopped refreshing a moth ago the workspace. How can a solve or the reasons a workspace was refreshed a month ago since there we do not have updated data?

  • @sweedieman3231
    @sweedieman3231 7 месяцев назад

    I find this to be overkill? Why not create a service account in Azure (non-personal e-mail account) and use that?

  • @raviranjan20
    @raviranjan20 3 года назад

    Quick question - How will this work in case of dataset refresh failure alert ? Can we configure sending mail to peoples in case refresh fails for any reason ?

  • @rafalkasa7594
    @rafalkasa7594 2 года назад +1

    Appreciated, thank you for this video 💪👍👏

  • @agileHRanalytics
    @agileHRanalytics 3 года назад

    Great tips, thanks Adam!

  • @angelo4664
    @angelo4664 3 года назад

    Hi,
    Would this still be limited by 8 daily refreshes for Pro and 48 daily for Premium?

  • @adithyamadhavan6804
    @adithyamadhavan6804 3 года назад

    Hey Adam and Patrick ! Can you make Video how to Unlock Filter Pane for Report Consumers in Publish to Public Mode. I am not able to find any solution regarding this topic.

  • @samanchopra5495
    @samanchopra5495 Год назад

    Q: Does this mean I can have my PC off and sheduled refresh would still run?

  • @shivaabhi1900
    @shivaabhi1900 Год назад

    Video really helps! Thank you
    I have a question with my case, I use dynamics 365 online
    I don't have the option to add a user against the gateway because it's online , it's really not required...
    How can I do the last step where takeover against service account configuration
    Could you please help me

    • @shivaabhi1900
      @shivaabhi1900 Год назад

      Anyone help me on this

    • @Michael-bof
      @Michael-bof Год назад

      @@shivaabhi1900 Is the below reply relevant? I'm wondering the same thing for a data lake source
      "@tareksalha
      11 months ago
      I know it is late, but to answer the question: we tested this and apparently even for cloud data sources there is a gateway cluster being involved. This one is hidden from the end users, but from power shell you can get its guid. Thus, the same process in the end… 😉"

    • @shivaabhi1900
      @shivaabhi1900 Год назад

      @@Michael-bof Thanks for your reply. Can you please share any document or anything to resolve this.

    • @shivaabhi1900
      @shivaabhi1900 Год назад

      With the service principal id ownership, dataset refreshing is failing with data source credentials missing Error.

  • @virensinkar4522
    @virensinkar4522 3 года назад

    We can also refresh one single table using this method

  • @dantepraxedis
    @dantepraxedis Год назад +1

    It should be simpler to do, too much complicated for a simple concept.

  • @debbieedwards7267
    @debbieedwards7267 3 года назад

    It doesn’t look like you can use Service principal with Premium Per user. Hopefully it’s coming soon

    • @GuyInACube
      @GuyInACube  3 года назад +1

      I'm not aware of any plans to enable that with Premium Per User.

  • @manuelgpri
    @manuelgpri 2 года назад

    My only conclusion here is how primitive the administration of the workspaces really is. Even something as simple as looking at the details of the settings someone else did is impossible.

  • @sahameed
    @sahameed 3 года назад +2

    Microsoft teaches you hard way 😬, before bringing a simpler solution 🙄

  • @ВасилийПирогов-я8я
    @ВасилийПирогов-я8я 3 года назад

    You are doing good lessons! Please add Russian subtitles to your videos.

  • @cesaritriago7038
    @cesaritriago7038 3 года назад

    You are a Crack!!! Nivel video!!!