You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for the script.
There is a better way to get access token for Graph without need to register applications and assign any permissions. You can use MSAL.PS module that allows to simplify working with MSAL library and get tokens using built-in app. That triggers interactive logon, but you don't need to store secretes in your script
Not sure which script you're referring to, but the method above will only work for accessing Azure AD resources, and uses delegate permissions. So it's not universal.
Of course anyone should use the method that makes most sense to their specific needs/scenarios, some of the scripts here don't even have an "obtain token" function as I don't want to account for all possible configurations.
Hi,
thanks for the script.
There is a better way to get access token for Graph without need to register applications and assign any permissions. You can use MSAL.PS module that allows to simplify working with MSAL library and get tokens using built-in app. That triggers interactive logon, but you don't need to store secretes in your script
The text was updated successfully, but these errors were encountered: