<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Access Power BI Audit Logs in Microsoft Office 365 Management API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Access-Power-BI-Audit-Logs-in-Microsoft-Office-365-Management/m-p/836713#M21285</link>
    <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;I would like to access Power BI Audit Logs via the Office 365 Management API. I have found an&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://prathy.com/2018/02/powerbi-audit-log-using-office365-management-api/" target="_blank" rel="nofollow noopener noreferrer"&gt;article&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;but it's a little outdated, and no longer seems to work.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;I have created an App Registration in Azure, but I cannot work out how to get an OAuth token to access this particular endpoint. I get various errors.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;This is when using "resource" of&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://manage.office.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://manage.office.com/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and the common OAuth endpoint (&lt;/SPAN&gt;&lt;A href="https://login.microsoftonline.com/common/oauth2/token" target="_blank" rel="nofollow noopener noreferrer"&gt;https://login.microsoftonline.com/common/oauth2/token&lt;/A&gt;) :&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="post-text"&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;AADSTS700016: Application with identifier '{My Application ID}' was not found in the directory 'office.com'.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I use my tenant-specific OAuth endpoint (&lt;A href="https://login.microsoftonline.com/MyTenantID/oauth2/token" target="_blank" rel="nofollow noopener noreferrer"&gt;https://login.microsoftonline.com/MyTenantID/oauth2/token&lt;/A&gt;) :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;AADSTS500011: The resource principal named&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://manage.office.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://manage.office.com/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;was not found in the tenant named {MyTenantID}.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 04 Nov 2019 23:50:11 GMT</pubDate>
    <dc:creator>TaylorN</dc:creator>
    <dc:date>2019-11-04T23:50:11Z</dc:date>
    <item>
      <title>Access Power BI Audit Logs in Microsoft Office 365 Management API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Access-Power-BI-Audit-Logs-in-Microsoft-Office-365-Management/m-p/836713#M21285</link>
      <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;I would like to access Power BI Audit Logs via the Office 365 Management API. I have found an&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://prathy.com/2018/02/powerbi-audit-log-using-office365-management-api/" target="_blank" rel="nofollow noopener noreferrer"&gt;article&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;but it's a little outdated, and no longer seems to work.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;I have created an App Registration in Azure, but I cannot work out how to get an OAuth token to access this particular endpoint. I get various errors.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;SPAN&gt;This is when using "resource" of&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://manage.office.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://manage.office.com/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and the common OAuth endpoint (&lt;/SPAN&gt;&lt;A href="https://login.microsoftonline.com/common/oauth2/token" target="_blank" rel="nofollow noopener noreferrer"&gt;https://login.microsoftonline.com/common/oauth2/token&lt;/A&gt;) :&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="post-text"&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;AADSTS700016: Application with identifier '{My Application ID}' was not found in the directory 'office.com'.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I use my tenant-specific OAuth endpoint (&lt;A href="https://login.microsoftonline.com/MyTenantID/oauth2/token" target="_blank" rel="nofollow noopener noreferrer"&gt;https://login.microsoftonline.com/MyTenantID/oauth2/token&lt;/A&gt;) :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;AADSTS500011: The resource principal named&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://manage.office.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://manage.office.com/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;was not found in the tenant named {MyTenantID}.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Nov 2019 23:50:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Access-Power-BI-Audit-Logs-in-Microsoft-Office-365-Management/m-p/836713#M21285</guid>
      <dc:creator>TaylorN</dc:creator>
      <dc:date>2019-11-04T23:50:11Z</dc:date>
    </item>
  </channel>
</rss>

