Oct 14 2020
12:11 PM
- last edited on
Feb 01 2023
11:47 AM
by
TechCommunityAP
Oct 14 2020
12:11 PM
- last edited on
Feb 01 2023
11:47 AM
by
TechCommunityAP
I am planning for automation that requires to frequently fetch DELETED users using the below command line. With the collected data I perform cleanup in AzDO.
Oct 14 2020 11:45 PM
Last time I toyed with this, you needed to use both -AdGraphAccessToken and -MsGraphAccessToken to make it work.
Jan 06 2021 03:51 AM
...how to generate these tokens? any link for document or something that help to understand the process?
thx
Jan 06 2021 01:30 PM
@Vasil Michev after reviewing numerous articles i was able to write some code, i have no problem with MSGraphToken but it fails on ADGraphToken. i'm not sure if i create it correctly. if you managed to somehow use this method i'd appreciate if you share code.
i as well found that: https://github.com/Azure/azure-docs-powershell-azuread/issues/246 but i don't understand if you can logon using both tokens or it is not working any more...
what i was able to do:
Jan 14 2022 05:27 AM
Did you (or anyone else) find a solution to this issue?
I'm trying to run a few msol commands in a script to collect information, and need to use a spn/access token to authenticate.
Jan 14 2022 06:17 AM
@Sgbjrn I have not, and no suppor found :(
Nov 06 2022 01:01 PM