NewResourceName: Named Locations
Description
You are currently pulling AAD Conditional Access Policies but are not pulling Named Locations. This could cause a failure if the Named Location you wish to use is not there.
Proposed properties
Please add Named Locations to the DSC so that they can be added for GEO Fencing reasons. We typically exclude all outside of US for the vast majority of our customers. We typically have one that is US Only also. We would like to be able to use this tool to add Named Locations.
Special considerations or limitations
PowerShell was recently updated (10/2020) to allow you to get this information so this is the next logical step.
@peterabele is this something you can look into? Thanks
Yes, I will develop the named location resource soon. Having named locations in the CA policies won't cause any failure, it is supported now, too. You can use named locations in location conditions when defining CA policies through DSC, and CA policy DSC export will contain the named locations configured under location conditions. As soon as we'll have the named location resource, you will also be able to manage and export the list of named locations. Will keep you posted...
Named Location DSC resource code is ready, will write the example and test module early next week, and do a PR.
Great work.
David Haver Manager, Infrastructure Services – Digital Cherry Bekaert LLP (O) 804-794-3491 | (D) 804-673-5762 | (C) 804-690-7669 <= The best number to reach me during COVID-19 times
From: Peter Abele [email protected] Sent: Friday, January 15, 2021 2:43 PM To: microsoft/Microsoft365DSC [email protected] Cc: David Haver [email protected]; Author [email protected] Subject: [EXTERNAL] Re: [microsoft/Microsoft365DSC] NewResourceName: Named Locations (#1014)
Caution: This email is from outside of the organization.
Named Location DSC resource code is ready, will write the example and test module early next week, and do a PR.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_Microsoft365DSC_issues_1014-23issuecomment-2D761160403&d=DwMCaQ&c=1POd4JaUGl-PtcKc5LZDvQ&r=D0VRENT3y4ndqL35V74EJSOji7WmKCoTTrYtzUEwhI8&m=H_KOzuaPPdicv5fzUMoCP2kLlnr52RvRerWy_-wu4KY&s=E9TPVaKFJtQCECqcZCYGo8us0w7mOrRbMD_XFqpjM-w&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ASMWG3XNYSQGYO2KLVWHYP3S2CLEZANCNFSM4WBOPYSA&d=DwMCaQ&c=1POd4JaUGl-PtcKc5LZDvQ&r=D0VRENT3y4ndqL35V74EJSOji7WmKCoTTrYtzUEwhI8&m=H_KOzuaPPdicv5fzUMoCP2kLlnr52RvRerWy_-wu4KY&s=Mby9zs-dZxdDIVccrTQs9OWp0SgrZGcrvlUnkeEIeg4&e=.
Now finished with the PR prerreqs, and sent the PR.
Peter,
Great, Thanks for the quick turnaround. We really appreciate it.
Regards, David Haver Manager, Infrastructure Services – Digital Cherry Bekaert LLP (O) 804-794-3491 | (D) 804-673-5762 | (C) 804-690-7669 <= The best number to reach me during COVID-19 times
From: Peter Abele [email protected] Sent: Tuesday, January 19, 2021 2:55 AM To: microsoft/Microsoft365DSC [email protected] Cc: David Haver [email protected]; Author [email protected] Subject: [EXTERNAL] Re: [microsoft/Microsoft365DSC] NewResourceName: Named Locations (#1014)
Caution: This email is from outside of the organization.
Now finished with the PR prerreqs, and sent the PR.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_Microsoft365DSC_issues_1014-23issuecomment-2D762667206&d=DwMCaQ&c=1POd4JaUGl-PtcKc5LZDvQ&r=D0VRENT3y4ndqL35V74EJSOji7WmKCoTTrYtzUEwhI8&m=2ze9kdocNCn4l0Nw2XpqCWO5DKL0WxSvrd54lxIWYjg&s=c7yCJpVtoiW5tIh7A8Y6Mztz2Sy29qaKccEKPNXuoVo&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ASMWG3RJAGE2WMYXNOO7OB3S2U3DRANCNFSM4WBOPYSA&d=DwMCaQ&c=1POd4JaUGl-PtcKc5LZDvQ&r=D0VRENT3y4ndqL35V74EJSOji7WmKCoTTrYtzUEwhI8&m=2ze9kdocNCn4l0Nw2XpqCWO5DKL0WxSvrd54lxIWYjg&s=gBxp7Rhuu7yxGW8HI3_AtReMrZfsV0J6ba4EOpUOd-8&e=.
Peter and Company,
I was just introduced to the Microsoft Compliance Configuration Analyzer (Microsoft Compliance Configuration Analyzer for Compliance Manager - Microsoft 365 Compliance | Microsoft Docshttps://docs.microsoft.com/en-us/microsoft-365/compliance/compliance-manager-mcca?view=o365-worldwide) tool yesterday. It appears to me that this tool along with the Microsoft365DSC tool could work hand in hand. Would you all consider reviewing this tool and adding additional items to the M365DSC tool to allow you to configure items found in the MCCA tool? There may be overlap already there I have not checked but this seems to make sense to me.
Regards, David Haver Manager, Infrastructure Services – Digital Cherry Bekaert LLP (O) 804-794-3491 | (D) 804-673-5762 | (C) 804-690-7669 <= The best number to reach me during COVID-19 times
From: David Haver Sent: Tuesday, January 19, 2021 8:51 AM To: 'microsoft/Microsoft365DSC' [email protected]; microsoft/Microsoft365DSC [email protected] Cc: Author [email protected] Subject: RE: [EXTERNAL] Re: [microsoft/Microsoft365DSC] NewResourceName: Named Locations (#1014)
Peter,
Great, Thanks for the quick turnaround. We really appreciate it.
Regards, David Haver Manager, Infrastructure Services – Digital Cherry Bekaert LLP (O) 804-794-3491 | (D) 804-673-5762 | (C) 804-690-7669 <= The best number to reach me during COVID-19 times
From: Peter Abele <[email protected]mailto:[email protected]> Sent: Tuesday, January 19, 2021 2:55 AM To: microsoft/Microsoft365DSC <[email protected]mailto:[email protected]> Cc: David Haver <[email protected]mailto:[email protected]>; Author <[email protected]mailto:[email protected]> Subject: [EXTERNAL] Re: [microsoft/Microsoft365DSC] NewResourceName: Named Locations (#1014)
Caution: This email is from outside of the organization.
Now finished with the PR prerreqs, and sent the PR.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_Microsoft365DSC_issues_1014-23issuecomment-2D762667206&d=DwMCaQ&c=1POd4JaUGl-PtcKc5LZDvQ&r=D0VRENT3y4ndqL35V74EJSOji7WmKCoTTrYtzUEwhI8&m=2ze9kdocNCn4l0Nw2XpqCWO5DKL0WxSvrd54lxIWYjg&s=c7yCJpVtoiW5tIh7A8Y6Mztz2Sy29qaKccEKPNXuoVo&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ASMWG3RJAGE2WMYXNOO7OB3S2U3DRANCNFSM4WBOPYSA&d=DwMCaQ&c=1POd4JaUGl-PtcKc5LZDvQ&r=D0VRENT3y4ndqL35V74EJSOji7WmKCoTTrYtzUEwhI8&m=2ze9kdocNCn4l0Nw2XpqCWO5DKL0WxSvrd54lxIWYjg&s=gBxp7Rhuu7yxGW8HI3_AtReMrZfsV0J6ba4EOpUOd-8&e=.