This sample script uses shell-specific web request tooling. We now have the m365 request command, shipped in version 5.8.
Let's update the sample to have a code block for using m365 request first, and underneath it the current sample code block as an alternative approach which shows how to use the accesstoken approach.
This sample script uses shell-specific web request tooling. We now have the
m365 requestcommand, shipped in version 5.8.Let's update the sample to have a code block for using m365 request first, and underneath it the current sample code block as an alternative approach which shows how to use the accesstoken approach.