AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 13.09.2021, 18:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
msdynamicsworld: Power BI Insights: Connecting with REST APIs; Adding report names
Источник: https://msdynamicsworld.com/story/po...g-report-names
==============

Power BI pros discuss connecting with REST APIs using OAuth2 authentication and adding report names to a Log Analytics report.

Connecting with REST APIs using OAuth2 authentication for Power Query and Power BI

Chris Webb explained that there are many articles explaining how to carry out OAuth2 authentication when connecting to REST APIs from Power BI and Power Query. But for users wanting to connect with a REST API from Power BI, the best answer is a custom connector.

Webb linked to documentation on the process, but cautioned that users can only connect to some APIs with AAD authentication using OData connectors or pre-built web connectors. Currently, Excel Power Query does not allow for custom connectors and Power BI Service custom connectors need to be accompanied with an on-prem gateway.
A quick web search will turn up several examples of how to implement an OAuth2 credential flow in regular Power Query queries without needing a custom connector. This is not recommended: it’s not secure and it’s not reliable. In particular, hard-coding usernames/passwords or client ids/client secrets in your M code is a really bad idea. What’s more requesting a new token every time a query runs isn’t great either.

<h2>Adding report names to a Log Analytics report


Источник: https://msdynamicsworld.com/story/po...g-report-names
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Dynamics 365 and Power Platform Monthly Update-September 2021 Blog bot Dynamics CRM: Blogs 0 11.09.2021 09:04
crminthefield: Dynamics 365 and Power Platform Monthly Update-August 2021 Blog bot Dynamics CRM: Blogs 0 12.08.2021 06:20
msdynamicsworld: Power BI Insights: 2019 in review; Power BI misconceptions; Activity Log; Report performance; Data culture Blog bot DAX Blogs 0 06.01.2020 19:13
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 11:40.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.