Comments (2)
Today tried from another different machine. same outcome.
Where is that log that elaborates on this:
"PowerShell DSC resource MSFT_TeamsUpdateManagementPolicy failed to execute Test-TargetResource functionality with error message: One or more errors occurred."
from microsoft365dsc.
In #2308 andikrueger recommended:
Did you setup your tenant Graph PowerShell and PnPManagementShell accrodingly?
see> https://microsoft365dsc.com/user-guide/get-started/authentication-and-permissions/#microsoft-graph-permissions
Could you check the event logs on your computer, if there are any more meaningful error messages available?
I am trying to understand the "authentication and permissions" part of the documentation.
I use global admin for the whole thing. very plain. Do I have to setup anything else?
The Documentation does not inform what is needed if one uses global admin.
Do I still need to set up Graph permissions?
Anyway, I checked Graph. We do not have Graph Powershell in Enterprise Applications, this is not even an option to install.
But we have Microsoft Graph Command line tools. Do I need Graph for the Teams configuration?
I can login to Teams with Connect-MicrosoftTeams from powershell without any issue.
Get-CsTeamsUpdateManagementPolicy yields a configuration
I did a Register-PnPManagementShellAccess to our tenant with my admin.
But error persists. when I execute the start-dscconfiguration.
When I enter Get-M365DSCCompiledPermissionList -ResourceNameList @('AADUser', 'AADApplication') -PermissionsType 'Application'
I get:
Get-M365DSCCompiledPermissionList : A parameter cannot be found that matches parameter name 'PermissionsType'.
THIS: "Since Desired State Configuration is an unattended process, the use of Multi Factor Authentication for user credentials is not supported by Microsoft365DSC."
Ok I removed the need of MFA for my admin, but still, error persists.
If I do it manually:
set-csTeamsUpdateManagementPolicy -identity Global -AllowPublicPreview disabled
This works without any problem.
I clearly need help.
Thank you so much.
from microsoft365dsc.
Related Issues (20)
- Link to Whitepaper resp. M365Automation.zip is down HOT 3
- Azure Automation Runbook: Problems running Start-DSCConfiguration - DSC Resource HOT 2
- DevOps pipeline not working and crashes with InboundParameters exception HOT 5
- EXOTransportRules - LastModifiedBy Parameter HOT 1
- EXOTransportRules not showing up in HTML or JSON HOT 17
- Creating a template of specific workload object HOT 3
- EXORoleGroups giving blank config comparison report HOT 1
- Not able to Connect-Exchangeonline using Certificate thumbprint HOT 2
- Export TargetSharingEPR from EXOIntraOrganizationConnector
- Import-Module Exchange or AzureAD Error in DevOps HOT 3
- TeamsTeam: Unable to create resources
- TeamsTeam: No Errors Showing in Resource on Failure
- AADRoleSetting: Error: Cannot verify the Microsoft .NET Framework version 4.7.2 because it is not included in the list of permitted versions. HOT 1
- AADGroup: Group owners are removed (while they shouldn't if the owners property is not present in the dsc config) HOT 1
- Verbose logging small enhancements
- AADGroup: identification of existing groups is not working properly
- Error on EXOHostedContentFilterRule in v1.24.228.1 - The operation couldn't be performed because object 'contos.com' couldn't be found on HOT 2
- O365Group: Export hangs indefinitely HOT 2
- Can't deploy AADAdministrativeUnit - unexpected instance annotation name 'https://graph.microsoft.com/beta/administrativeUnits'
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.