Comments (9)
You have some problem in your blueprint, according to the screenshot you are using that property BccExternalSharingInvitations
where it doesn't belong. You don't show the whole screenshot but according to what's visible at least you have the property being used for the ODSettings and O365OrgSettings resources and it doesn't belong there.
from microsoft365dsc.
You have some problem in your blueprint, according to the screenshot you are using that property
BccExternalSharingInvitations
where it doesn't belong. You don't show the whole screenshot but according to what's visible at least you have the property being used for the ODSettings and O365OrgSettings resources and it doesn't belong there.
hmmm... it seems to be in the documenation tho: https://microsoft365dsc.com/resources/sharepoint/SPOSharingSettings/
Also, this isn't a blueprint - we're just re-importing an export raw to another tenant. The output from this:
Export-M365DSCConfiguration -Components @("AADSecurityDefaults", "EXOMailTips", "IntuneDeviceCompliancePolicyWindows10", "IntuneDeviceConfigurationEmailProfilePolicyWindows10", "O365OrgSettings", "ODSettings", "SCSensitivityLabel", "SPOSharingSettings", "TeamsUpgradePolicy") -Credential $Credential
is, verbatim, the DSC code I posted above.
BccExternalSharingInvitations is ONLY contained in SPOSharingSettings, nowhere else.
from microsoft365dsc.
The result of the export is called a blueprint, the file M365TenantConfig.ps1 is your blueprint. The errors shown in your screenshot show that the property appears in several lines, you need to investigate why they ended up there.
from microsoft365dsc.
The result of the export is called a blueprint, the file M365TenantConfig.ps1 is your blueprint. The errors shown in your screenshot show that the property appears in several lines, you need to investigate why they ended up there.
It runs three times due to a bug in our DevOps Agent config. But that shouldn't cause the parameter to fail, since it seems to be exactly where it should be. It should succeed three times, if anything, shouldn't it?
Here is the entire code:
param (
[parameter()]
[System.Management.Automation.PSCredential]
$Credential
)
Configuration M365TenantConfig
{
param (
[parameter()]
[System.Management.Automation.PSCredential]
$Credential
)
if ($null -eq $Credential)
{
<# Credentials #>
$Credscredential = Get-Credential -Message "Credentials"
}
else
{
$CredsCredential = $Credential
}
$OrganizationName = $CredsCredential.UserName.Split('@')[1]
Import-DscResource -ModuleName 'Microsoft365DSC' -ModuleVersion '1.24.605.1'
Node localhost
{
AADSecurityDefaults "AADSecurityDefaults"
{
Credential = $Credscredential;
Description = "Security defaults is a set of basic identity security mechanisms recommended by Microsoft. When enabled, these recommendations will be automatically enforced in your organization. Administrators and users will be better protected from common identity related attacks.";
DisplayName = "Security Defaults";
IsEnabled = $False;
IsSingleInstance = "Yes";
}
EXOMailTips "EXOMailTips"
{
Credential = $Credscredential;
Ensure = "Present";
IsSingleInstance = "Yes";
MailTipsAllTipsEnabled = $True;
MailTipsExternalRecipientsTipsEnabled = $True;
MailTipsGroupMetricsEnabled = $True;
MailTipsLargeAudienceThreshold = 25;
MailTipsMailboxSourcedTipsEnabled = $True;
}
IntuneDeviceCompliancePolicyWindows10 "IntuneDeviceCompliancePolicyWindows10-Standard device compliance for Windows"
{
ActiveFirewallRequired = $True;
AntiSpywareRequired = $True;
AntivirusRequired = $True;
Assignments = @(
MSFT_DeviceManagementConfigurationPolicyAssignments{
deviceAndAppManagementAssignmentFilterType = 'none'
groupDisplayName = 'All users'
dataType = '#microsoft.graph.allLicensedUsersAssignmentTarget'
}
MSFT_DeviceManagementConfigurationPolicyAssignments{
deviceAndAppManagementAssignmentFilterType = 'include'
groupDisplayName = 'All devices'
dataType = '#microsoft.graph.allDevicesAssignmentTarget'
deviceAndAppManagementAssignmentFilterId = '***-7de940bb81b8'
});
BitLockerEnabled = $True;
CodeIntegrityEnabled = $True;
ConfigurationManagerComplianceRequired = $False;
Credential = $Credscredential;
DefenderEnabled = $True;
DeviceThreatProtectionEnabled = $True;
DeviceThreatProtectionRequiredSecurityLevel = "low";
DisplayName = "Standard device compliance for Windows";
EarlyLaunchAntiMalwareDriverEnabled = $False;
Ensure = "Present";
PasswordBlockSimple = $True;
PasswordRequired = $True;
PasswordRequiredToUnlockFromIdle = $True;
PasswordRequiredType = "deviceDefault";
RequireHealthyDeviceReport = $False;
RTPEnabled = $True;
SecureBootEnabled = $True;
SignatureOutOfDate = $True;
StorageRequireEncryption = $True;
ValidOperatingSystemBuildRanges = @();
}
IntuneDeviceConfigurationEmailProfilePolicyWindows10 "IntuneDeviceConfigurationEmailProfilePolicyWindows10-Email, Calendar and People apps: automatic + basic configuration"
{
AccountName = "Work";
Assignments = @(
MSFT_DeviceManagementConfigurationPolicyAssignments{
deviceAndAppManagementAssignmentFilterType = 'none'
groupDisplayName = 'All users'
dataType = '#microsoft.graph.allLicensedUsersAssignmentTarget'
}
);
Credential = $Credscredential;
DisplayName = "Email, Calendar and People apps: automatic + basic configuration";
DurationOfEmailToSync = "unlimited";
EmailAddressSource = "primarySmtpAddress";
EmailSyncSchedule = "asMessagesArrive";
Ensure = "Present";
HostName = "outlook.office365.com";
Id = "***-849d9b90cde4";
RequireSsl = $True;
SyncCalendar = $True;
SyncContacts = $True;
SyncTasks = $True;
}
O365OrgSettings "O365OrgSettings"
{
AdminCenterReportDisplayConcealedNames = $False;
AppsAndServicesIsAppAndServicesTrialEnabled = $True;
AppsAndServicesIsOfficeStoreEnabled = $True;
CortanaEnabled = $False;
Credential = $Credscredential;
DynamicsCustomerVoiceIsInOrgFormsPhishingScanEnabled = $True;
DynamicsCustomerVoiceIsRecordIdentityByDefaultEnabled = $True;
DynamicsCustomerVoiceIsRestrictedSurveyAccessEnabled = $False;
FormsIsBingImageSearchEnabled = $True;
FormsIsExternalSendFormEnabled = $True;
FormsIsExternalShareCollaborationEnabled = $True;
FormsIsExternalShareResultEnabled = $True;
FormsIsExternalShareTemplateEnabled = $True;
FormsIsInOrgFormsPhishingScanEnabled = $True;
FormsIsRecordIdentityByDefaultEnabled = $True;
InstallationOptionsAppsForMac = @();
InstallationOptionsAppsForWindows = @("isVisioEnabled","isProjectEnabled","isMicrosoft365AppsEnabled");
InstallationOptionsUpdateChannel = "current";
IsSingleInstance = "Yes";
M365WebEnableUsersToOpenFilesFrom3PStorage = $False;
PlannerAllowCalendarSharing = $True;
ToDoIsExternalJoinEnabled = $True;
ToDoIsExternalShareEnabled = $False;
ToDoIsPushNotificationEnabled = $True;
VivaInsightsDigestEmail = $False;
VivaInsightsOutlookAddInAndInlineSuggestions = $False;
VivaInsightsScheduleSendSuggestions = $False;
VivaInsightsWebExperience = $False;
}
ODSettings "ODSettings"
{
BlockMacSync = $False;
Credential = $Credscredential;
DisableReportProblemDialog = $False;
DomainGuids = @();
Ensure = "Present";
ExcludedFileExtensions = @();
IsSingleInstance = "Yes";
NotificationsInOneDriveForBusinessEnabled = $True;
NotifyOwnersWhenInvitationsAccepted = $True;
ODBAccessRequests = "Unspecified";
ODBMembersCanShare = "Unspecified";
OneDriveForGuestsEnabled = $False;
OneDriveStorageQuota = 1048576;
OrphanedPersonalSitesRetentionPeriod = 30;
TenantRestrictionEnabled = $False;
}
SCSensitivityLabel "SCSensitivityLabel-General"
{
AdvancedSettings = @(
MSFT_SCLabelSetting
{
Key = 'color'
Value = '#13A10E'
}
MSFT_SCLabelSetting
{
Key = 'isparent'
Value = 'False'
}
);
Comment = "";
ContentType = @("File, Email","Site, UnifiedGroup","SchematizedData");
Credential = $Credscredential;
DisplayName = "General";
EncryptionEnabled = $True;
EncryptionProtectionType = "removeprotection";
Ensure = "Present";
LocaleSettings = @(
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'displayName'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'General'
}
)
}
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'tooltip'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Data which has no specific sensitivity and need no particular protection. There are no sharing restrictions.'
}
)
}
);
Name = "General";
Priority = 0;
SiteAndGroupExternalSharingControlType = "ExternalUserAndGuestSharing";
SiteAndGroupProtectionAllowAccessToGuestUsers = $False;
SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
SiteAndGroupProtectionAllowFullAccess = $True;
SiteAndGroupProtectionAllowLimitedAccess = $False;
SiteAndGroupProtectionBlockAccess = $False;
SiteAndGroupProtectionEnabled = $True;
SiteAndGroupProtectionPrivacy = "public";
Tooltip = "Data which has no specific sensitivity and need no particular protection. There are no sharing restrictions.";
}
SCSensitivityLabel "SCSensitivityLabel-Preview"
{
AdvancedSettings = @(
MSFT_SCLabelSetting
{
Key = 'color'
Value = '#3A96DD'
}
MSFT_SCLabelSetting
{
Key = 'isparent'
Value = 'False'
}
);
ApplyContentMarkingFooterAlignment = "Left";
ApplyContentMarkingFooterEnabled = $False;
ApplyContentMarkingFooterFontColor = "#000000";
ApplyContentMarkingFooterFontSize = "10";
ApplyContentMarkingFooterMargin = "5";
ApplyContentMarkingFooterText = "Preview";
ApplyContentMarkingHeaderAlignment = "Left";
ApplyContentMarkingHeaderEnabled = $True;
ApplyContentMarkingHeaderFontColor = "#000000";
ApplyContentMarkingHeaderFontSize = "10";
ApplyContentMarkingHeaderMargin = "5";
ApplyContentMarkingHeaderText = "Preview";
Comment = "";
ContentType = @("File, Email","Site, UnifiedGroup","SchematizedData");
Credential = $Credscredential;
DisplayName = "Preview";
EncryptionEnabled = $True;
EncryptionProtectionType = "removeprotection";
Ensure = "Present";
LocaleSettings = @(
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'displayName'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Preview'
}
)
}
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'tooltip'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'For sharing with our preview customers and partners. Access is not restricted nor is data encrypted, but it is trackable and revokable.'
}
)
}
);
Name = "Preview";
Priority = 1;
SiteAndGroupExternalSharingControlType = "ExistingExternalUserSharingOnly";
SiteAndGroupProtectionAllowAccessToGuestUsers = $False;
SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
SiteAndGroupProtectionAllowFullAccess = $False;
SiteAndGroupProtectionAllowLimitedAccess = $False;
SiteAndGroupProtectionBlockAccess = $False;
SiteAndGroupProtectionEnabled = $True;
SiteAndGroupProtectionPrivacy = "public";
Tooltip = "For sharing with our preview customers and partners. Access is not restricted nor is data encrypted, but it is trackable and revokable.";
}
SCSensitivityLabel "SCSensitivityLabel-Confidential"
{
AdvancedSettings = @(
MSFT_SCLabelSetting
{
Key = 'color'
Value = '#EAA300'
}
MSFT_SCLabelSetting
{
Key = 'isparent'
Value = 'False'
}
);
ApplyContentMarkingFooterAlignment = "Left";
ApplyContentMarkingFooterEnabled = $False;
ApplyContentMarkingFooterFontColor = "#000000";
ApplyContentMarkingFooterFontSize = "10";
ApplyContentMarkingFooterMargin = "5";
ApplyContentMarkingFooterText = "confidential";
ApplyContentMarkingHeaderAlignment = "Left";
ApplyContentMarkingHeaderEnabled = $True;
ApplyContentMarkingHeaderFontColor = "#000000";
ApplyContentMarkingHeaderFontSize = "10";
ApplyContentMarkingHeaderMargin = "5";
ApplyContentMarkingHeaderText = "confidential";
Comment = "";
ContentType = @("File, Email","Site, UnifiedGroup","SchematizedData");
Credential = $Credscredential;
DisplayName = "Secure Collaboration";
EncryptionContentExpiredOnDateInDaysOrNever = "Never";
EncryptionEnabled = $True;
EncryptionOfflineAccessDays = "1";
EncryptionProtectionType = "template";
EncryptionRightsDefinitions = "***@$($OrganizationName):VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,EDITRIGHTSDATA,EXPORT,OBJMODEL,OWNER;AuthenticatedUsers:VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,OBJMODEL";
Ensure = "Present";
LocaleSettings = @(
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'displayName'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Secure Collaboration'
}
)
}
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'tooltip'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Examples can be confidential IP (internal and external), document drafts for sharing with trusted business partners and PII. Confidential information is encrypted and and can only be consumed by employees or by invited guests. IMPORTANT: Users must use M365 desktop or web Apps connected to Entra ID or a Microsoft Account MSA in order to consume this information.'
}
)
}
);
Name = "Confidential";
Priority = 2;
SiteAndGroupExternalSharingControlType = "ExistingExternalUserSharingOnly";
SiteAndGroupProtectionAllowAccessToGuestUsers = $False;
SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
SiteAndGroupProtectionAllowFullAccess = $False;
SiteAndGroupProtectionAllowLimitedAccess = $False;
SiteAndGroupProtectionBlockAccess = $False;
SiteAndGroupProtectionEnabled = $True;
SiteAndGroupProtectionPrivacy = "public";
Tooltip = "Examples can be confidential IP (internal and external), document drafts for sharing with trusted business partners and PII. Confidential information is encrypted and and can only be consumed by employees or by invited guests. IMPORTANT: Users must use M365 desktop or web Apps connected to Entra ID or a Microsoft Account MSA in order to consume this information.";
}
SCSensitivityLabel "SCSensitivityLabel-Revoked"
{
AdvancedSettings = @(
MSFT_SCLabelSetting
{
Key = 'color'
Value = '#393939'
}
MSFT_SCLabelSetting
{
Key = 'isparent'
Value = 'False'
}
);
ApplyContentMarkingHeaderAlignment = "Left";
ApplyContentMarkingHeaderFontColor = "#000000";
ApplyContentMarkingHeaderFontSize = "10";
ApplyContentMarkingHeaderMargin = "5";
ApplyContentMarkingHeaderText = "Revoked";
Comment = "";
ContentType = @("File, Email","Site, UnifiedGroup","SchematizedData");
Credential = $Credscredential;
DisplayName = "Revoked";
EncryptionContentExpiredOnDateInDaysOrNever = "Never";
EncryptionEnabled = $True;
EncryptionOfflineAccessDays = "7";
EncryptionProtectionType = "template";
EncryptionRightsDefinitions = "$($OrganizationName):VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,EDITRIGHTSDATA,EXPORT,OBJMODEL,OWNER";
Ensure = "Present";
LocaleSettings = @(
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'displayName'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Revoked'
}
)
}
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'tooltip'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Use this to revoke any possible access outside of and label documents as invalid. Examples can include: superseded documentation, obsolete drafts. Revoked documents are only accessible for internal employees. External sharing is blocked.'
}
)
}
);
Name = "Revoked";
Priority = 3;
SiteAndGroupExternalSharingControlType = "Disabled";
SiteAndGroupProtectionAllowAccessToGuestUsers = $True;
SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
SiteAndGroupProtectionAllowFullAccess = $False;
SiteAndGroupProtectionAllowLimitedAccess = $False;
SiteAndGroupProtectionBlockAccess = $False;
SiteAndGroupProtectionEnabled = $True;
SiteAndGroupProtectionPrivacy = "public";
Tooltip = "Use this to revoke any possible access outside of and label documents as invalid. Examples can include: superseded documentation, obsolete drafts. Revoked documents are only accessible for internal employees. External sharing is blocked.";
}
SCSensitivityLabel "SCSensitivityLabel-Highly Confidential"
{
AdvancedSettings = @(
MSFT_SCLabelSetting
{
Key = 'color'
Value = '#A4262C'
}
MSFT_SCLabelSetting
{
Key = 'isparent'
Value = 'False'
}
);
ApplyContentMarkingFooterAlignment = "Left";
ApplyContentMarkingFooterEnabled = $False;
ApplyContentMarkingFooterFontColor = "#000000";
ApplyContentMarkingFooterFontSize = "10";
ApplyContentMarkingFooterMargin = "5";
ApplyContentMarkingFooterText = "internal use only.";
ApplyContentMarkingHeaderAlignment = "Left";
ApplyContentMarkingHeaderEnabled = $True;
ApplyContentMarkingHeaderFontColor = "#000000";
ApplyContentMarkingHeaderFontSize = "10";
ApplyContentMarkingHeaderMargin = "5";
ApplyContentMarkingHeaderText = "internal only";
ApplyWaterMarkingEnabled = $False;
ApplyWaterMarkingFontColor = "#000000";
ApplyWaterMarkingFontSize = "10";
ApplyWaterMarkingLayout = "Diagonal";
ApplyWaterMarkingText = "Internal use only";
Comment = "";
ContentType = @("File, Email","Site, UnifiedGroup","SchematizedData");
Credential = $Credscredential;
DisplayName = "Confidential - Internal only";
EncryptionContentExpiredOnDateInDaysOrNever = "Never";
EncryptionEnabled = $True;
EncryptionOfflineAccessDays = "0";
EncryptionProtectionType = "template";
EncryptionRightsDefinitions = "***@$($OrganizationName):VIEW,VIEWRIGHTSDATA,DOCEDIT,EDIT,PRINT,EXTRACT,REPLY,REPLYALL,FORWARD,EDITRIGHTSDATA,EXPORT,OBJMODEL,OWNER";
Ensure = "Present";
LocaleSettings = @(
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'displayName'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Confidential - Internal only'
}
)
}
MSFT_SCLabelLocaleSettings
{
LocaleKey = 'tooltip'
LabelSettings = @(
MSFT_SCLabelSetting
{
Key = 'default'
Value = 'Information not for consumption outside of. Examples can be highly confidential IP (internal and external), internal document drafts and highly sensitive PII. Confidential information is encrypted and and can only be consumed by employees.'
}
)
}
);
Name = "Highly Confidential";
Priority = 4;
SiteAndGroupExternalSharingControlType = "Disabled";
SiteAndGroupProtectionAllowAccessToGuestUsers = $True;
SiteAndGroupProtectionAllowEmailFromGuestUsers = $True;
SiteAndGroupProtectionAllowFullAccess = $False;
SiteAndGroupProtectionAllowLimitedAccess = $False;
SiteAndGroupProtectionBlockAccess = $False;
SiteAndGroupProtectionEnabled = $True;
SiteAndGroupProtectionPrivacy = "private";
Tooltip = "Information not for consumption outside of. Examples can be highly confidential IP (internal and external), internal document drafts and highly sensitive PII. Confidential information is encrypted and and can only be consumed by employees.";
}
SPOSharingSettings "SPOSharingSettings"
{
BccExternalSharingInvitations = $False;
Credential = $Credscredential;
DefaultLinkPermission = "Edit";
DefaultSharingLinkType = "Internal";
EnableGuestSignInAcceleration = $False;
Ensure = "Present";
ExternalUserExpirationRequired = $False;
ExternalUserExpireInDays = 60;
FileAnonymousLinkType = "Edit";
FolderAnonymousLinkType = "Edit";
IsSingleInstance = "Yes";
MySiteSharingCapability = "ExternalUserAndGuestSharing";
NotifyOwnersWhenItemsReshared = $True;
PreventExternalUsersFromResharing = $True;
ProvisionSharedWithEveryoneFolder = $False;
RequireAcceptingAccountMatchInvitedAccount = $True;
SharingCapability = "ExternalUserAndGuestSharing";
SharingDomainRestrictionMode = "None";
ShowAllUsersClaim = $False;
ShowEveryoneClaim = $False;
ShowEveryoneExceptExternalUsersClaim = $True;
ShowPeoplePickerSuggestionsForGuestUsers = $False;
}
TeamsUpgradePolicy "TeamsUpgradePolicy-Global"
{
Credential = $Credscredential;
Identity = "Global";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-UpgradeToTeams"
{
Credential = $Credscredential;
Identity = "UpgradeToTeams";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-Islands"
{
Credential = $Credscredential;
Identity = "Islands";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-IslandsWithNotify"
{
Credential = $Credscredential;
Identity = "IslandsWithNotify";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-SfBOnly"
{
Credential = $Credscredential;
Identity = "SfBOnly";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-SfBOnlyWithNotify"
{
Credential = $Credscredential;
Identity = "SfBOnlyWithNotify";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-SfBWithTeamsCollab"
{
Credential = $Credscredential;
Identity = "SfBWithTeamsCollab";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-SfBWithTeamsCollabWithNotify"
{
Credential = $Credscredential;
Identity = "SfBWithTeamsCollabWithNotify";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-SfBWithTeamsCollabAndMeetings"
{
Credential = $Credscredential;
Identity = "SfBWithTeamsCollabAndMeetings";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-SfBWithTeamsCollabAndMeetingsWithNotify"
{
Credential = $Credscredential;
Identity = "SfBWithTeamsCollabAndMeetingsWithNotify";
MigrateMeetingsToTeams = $False;
Users = @();
}
TeamsUpgradePolicy "TeamsUpgradePolicy-SfBOnlyWithOutNotify"
{
Credential = $Credscredential;
Identity = "SfBOnlyWithOutNotify";
MigrateMeetingsToTeams = $False;
Users = @();
}
}
}
M365TenantConfig -ConfigurationData .\ConfigurationData.psd1 -Credential $Credential
from microsoft365dsc.
I'm able to compile the blueprint to MOF just fine so try to uninstall M365DSC module, update to latest version, make a new export and try again.
from microsoft365dsc.
Yes, the mof always compiles fine - locally. However, we do that with Azure DevOps agents on a remote server, which is where the error occurs.
And I believe 1.24.605 is the latest version, isn't it? (we're still in June).
I added info on the remote host to the initial post. Maybe it'll give some insight as to why that parameter fails. (others work fine, btw, also other resources). This looks way too specific IMHO to be a an external problem.
from microsoft365dsc.
Latest version is 1.24.619.1, M365DSC has weekly releases.
I also use DevOps and have an whole lot of pipelines working, one of them also does exports automatically and I don't have this problem so this is something specific to your environment. Connect to the host where the agent is installed, upgrade M365DSC and try again as I said, if you still have the same problem you need to checkout that file on the host because it's clearly telling you that the property is showing up in several lines.
from microsoft365dsc.
Latest version is 1.24.619.1, M365DSC has weekly releases.
I also use DevOps and have an whole lot of pipelines working, one of them also does exports automatically and I don't have this problem so this is something specific to your environment. Connect to the host where the agent is installed, upgrade M365DSC and try again as I said, if you still have the same problem you need to checkout that file on the host because it's clearly telling you that the property is showing up in several lines.
OK - will do. Thanks!
While we're on it: surely, we're not expected to update weekly? 😉 That'll be VERY hard/risky to do once we reach a few hundred tenants IMHO.
from microsoft365dsc.
Never mind - we can't repro this anymore. Closing this for now.
from microsoft365dsc.
Related Issues (20)
- Export: Unable to create reports from configuration exports HOT 2
- Your app has been throttled by AAD due to too many requests. HOT 10
- IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10: Error in catch block overwrites/hides original error?
- AADGroup: New group creation failing due to AssignedToRole parameter not found in the first run
- Problem exporting OrgSettings and PPTenantIsolationSettings HOT 11
- Unable to Export-M365DSCConfiguration using the -AccessTokens parameter. HOT 5
- Export-M365DSCConfiguration: Getting `You cannot call a method on a numm-valued expression` and empty report with PowerShell 7.
- Export-M365DSCConfiguration doesn't support combination of Credential and ApplicationId
- Export-M365DSCConfiguration directly to the Azure blob container HOT 1
- New resource for Entra ID password protection settings HOT 1
- Follow-Up: New-M365DSCDeltaReport: "No discrepancies have been found!" when adding an exclusion to Conditional Access Policies
- [MSCloudLoginConnectionProfile] : Not found HOT 1
- O365SearchAndIntelligenceConfigurations : Unable to export
- EXOGroupSettings: Only exports 1000 objects HOT 1
- Microsoft365DSC: Cannot bind parameter 'Certificate'. Cannot convert value "CERTIFICATETHUMBPRINT" to type "Microsoft.TeamsCmdlets.Powershell.Connect.Utilities.CertificateParameter". HOT 6
- Bug on EXODkimSigningConfig (wrong Key size value)
- O365OrgSettings issue with V1.24.626.1 HOT 3
- HELP: how to deploy sensitivity labels with [SCSensitivityLabel] - specifically how to get "update" access? HOT 1
- IntuneWindowsAutopilotDeploymentProfileAzureADJoined: Creates New Resource Every Run HOT 2
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.