Comments on: Practical Graph: Create a Mailbox Contents Report https://practical365.com/mailbox-contents-report/ Practical Office 365 News, Tips, and Tutorials Mon, 03 Jun 2024 16:03:10 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Tony Redmond</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_289282'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_289282"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Tony Redmond</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/mailbox-contents-report/#comment-289282 Fri, 01 Mar 2024 23:01:03 +0000 https://practical365.com/?p=57260#comment-289282 In reply to Franz-Georg.

The script uses a registered Entra ID app to authenticate and be able to run the Graph API queries. You need to update the $AppId variable with the app identifier for the registered app. You also need to pass your tenant identifier and an app secret (or certificate thumbnail).

$AppId = “d48578ac-7cb4-4b5a-a296-f19218a03f11”
$TenantId = “a662313f-14fc-43a2-9a7a-d2e27f4f3487”
$AppSecret = “bzS8Q~9EDXMUrUOJUbZXTTiJp7lTFdkWskETObRU”

]]>
By: Franz-Georg https://practical365.com/mailbox-contents-report/#comment-289262 Fri, 01 Mar 2024 16:24:52 +0000 https://practical365.com/?p=57260#comment-289262 thanks a lot for the script – but in line 138 the $AppId is needed – but which app is meant?

]]>