# Check the identity of the tokencurl-s-H"Authorization: Bearer <token>"https://graph.microsoft.com/v1.0/me|jq# Check the email (you need a token authorized in login.microsoftonline.com)curl-s-H"Authorization: Bearer <token>"https://outlook.office.com/api/v2.0/me/messages|jq# Download a file from Teams## You need a token that can access graph.microsoft.com## Then, find the <site_id> inside the memory and callcurl-s-H"Authorization: Bearer <token>"https://graph.microsoft.com/v1.0/sites/<site_id>/drives|jq## Then, list one drivecurl-s-H"Authorization: Bearer <token>"'https://graph.microsoft.com/v1.0/sites/<site_id>/drives/<drive_id>'|jq## Finally, download a file from that drive:┌──(magichk㉿black-pearl)-[~]└─$curl-o<filename_output>-L-H"Authorization: Bearer <token>"'<@microsoft.graph.downloadUrl>'