Comments (2)
PS I posted a suggestion to the Graph team almost half a year ago. https://feedbackportal.microsoft.com/feedback/idea/72d03931-905e-ee11-a81c-0022484e5453
from microsoft365dsc.
Since the MSCommerce-module is not built for app-authentication, some clever guy out there has reverse-engineered the functionality with just that in mind. See https://blog.vdwegen.app/posts/disable-selfservice-licenses/
Fun fact: All cmdlets (functions) in MSCommerce support the -Token parameter so it seems they're almost begging for us to provide tokens outselves. Enter MSCLoudLoginAssistant. With an accesstoken generated by 'New-M365DSCConnection -Workload 'MSCommerce' -InboundParameters $PSBoundParameters and stored in $Global:MSCloudLoginConnectionProfile.MSCommerce.AccessTokens, you can use everything the MSCommerce-module has to offer - except Connect-MSCommerce which is only needed if you don't provide an accesstoken.
I'm not sure I really 'got it' but I've attempted a PR to add MSCommerce to workloads supported by MSCloudLoginAssistant
Have a look and let me know how far off I am ;-)
from microsoft365dsc.
Related Issues (20)
- Export-M365DSCConfiguration - System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression. HOT 3
- Examples of M365 DSC Blueprints HOT 5
- While Exporting Configuration of Planner | It return an empty .ps1 File HOT 2
- Issue when sync conditional access policy HOT 7
- O365OrgSettings: Fix: Boolean Parameters default to false if not specified in configuration
- Composite resources at component level for devops HOT 1
- composite resource structure at component level (instead of workload level), for Devops HOT 2
- SPOTenantSettings: Failing to deploy or test the resource's state with latest Graph version HOT 27
- Partial Export was saved at... HOT 2
- ENHANCEMENT / FEATURE REQUEST - Filter on Property HOT 3
- Clarification on Setting Execution Policy for Microsoft 365 DSC HOT 2
- NewResourceName: Intune Apple iPadOS/iOS Device feature policies
- NewResourceName: Intune Apple custom iPadOS/iOPS device configuration profiles
- IntuneApplicationControlPolicyWindows10: App Control for Business (preview) policies are not in the export.
- Assert-M365DSCBlueprint Not Reporting Missing Included Roles HOT 1
- AADUser resource incomplete HOT 1
- SCDLPComplianceRule: Attributes are missing when exporting
- Problem with uploading exchange configuration
- C'est
- Can event log be disabled when use DSC? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft365dsc.