Coder Social home page Coder Social logo

disponibilidade_qualidade_consumo_tic2's Introduction

DISPONIBILIDADE_QUALIDADE_CONSUMO_TIC2

Arquivo _access.php deve ser criado para incluir as credencias

<?php
        $access_client_id = ''; // Registered App ApplicationID

        $access_username = ''; // for example [email protected]
    
        $access_password = ''; // Azure password for above user

?>
referencias:

https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/refresh-token

https://www.youtube.com/watch?v=dL-0-ezd84w&ab_channel=LeonardoKarpinski-PowerBIMaster

https://www.msbiblog.com/2018/01/12/power-bi-embedded-example-using-curl-and-php/

https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exporttofile (exportar)

playground
instalar Login-PowerBI
  • é necessário instalar o login power bi para gerar o token pelo powershell

Install-Module -Name MicrosoftPowerBIMgmt -Scope CurrentUser

https://powerbi.microsoft.com/en-us/blog/working-with-powershell-in-power-bi/

  • gerar token para play ground
$url = "https://api.powerbi.com/v1.0/myorg/groups/6b98c748-3362-47e1-bc29-b6e586e8c279/reports/fd741e17-0583-483e-94b5-1bf94b7fa74f/GenerateToken"
$body = "{'accessLeval': 'View'}"
$response = Invoke-PowerBIRestMethod -Url $url -Body $body -Method Post
$response
$json = $response | ConvertFrom-Json
$json.token
desativar segurança de dois fatores(se necessário)

https://docs.microsoft.com/pt-br/microsoft-365/admin/security-and-compliance/set-up-multi-factor-authentication?view=o365-worldwide

disponibilidade_qualidade_consumo_tic2's People

Contributors

carlosdesousa91 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.