Forum Discussion
sansbacher
May 12, 2023Brass Contributor
Configuring the Secure App Model for PowerShell / API / Graph scripting with GDAP for Partners
Hi whomever may find this! With the old MS Partner Community Forums going read-only as of March 8th, 2023 I thought I'd post a few useful links here in case someone is searching and unable to pos...
sansbacher
Jun 30, 2023Brass Contributor
SimonasPikelis , the old MSOnline / Msol module does not work with GDAP. You'll need to migrate to MS Graph.
--Saul
bKeski
Aug 18, 2023Copper Contributor
But as I know, MS Graph does not have tools for setting up per-user MFA (to check or to set Enable, Enforce, Disable status). So I still use MSOnline module for that. And this is not working without DAP.
- sansbacherAug 28, 2023Brass Contributor
bKeski ,
Correct, and as others have noted: Per-User MFA isn't yet fully available in the MS Graph API, though parts of it are in the beta end-point:
https://learn.microsoft.com/en-us/graph/api/resources/userregistrationdetails?view=graph-rest-beta
You can add your voice to speed this up:
https://feedbackportal.microsoft.com/feedback/idea/12d10bfb-10e3-ec11-a81b-000d3a03dba2
Sadly, while the MS Online and Azure AD Graph based modules will be deprecated March 30th, 2024 [and "Once these modules are deprecated, they will continue to work for a minimum of six (6) months before being retired"], they are currently not receiving any new features:
I assume this means making them work with GDAP - they only support DAP.
So while they may continue to work throughout most of 2024 they won't work for Partners using GDAP (which is now required) since they rely upon DAP. I don't have an answer for that.
Maybe JillArmour can dig into things on the Microsoft side of things and see what we're supposed to do: we must use GDAP not DAP, but that means using MS Graph, but it doesn't support Per-User MFA actions, and the older MSOnline module relies upon the older Azure AD Graph which doesn't support GDAP. So we're stuck.
And Per-User MFA is still supported, even if it's not the ideal way of managing MFA.
--Saul
- JillArmourAug 29, 2023
Community Manager
- rvdwegen92Aug 21, 2023Copper Contributor
- ClaudioStalloneAug 21, 2023Steel Contributor
Hi bKeski,
That is correct, as of now this cannot be done via MS Graph.
Nevertheless, the old PowerShell modules will been discontinued until March 2024: