Closed leitzler closed 9 months ago
There is a warning printed when running the export:
[WARNING] Based on the provided Authentication parameters, the following resources cannot be extracted:
TeamsUserCallingSettings
However, the application I use do have all API permissions required as well as the role "Global Administrator" assigned (as well as "Global Reader" and "Teams Administrator" just to make sure).
Assigned API permissions, all granted:
This looks like an issue with the configuration within M365DSC. We should be able to get all information with the authentication method chosen.
Found the source of the issue. The TeamUserCallingSettings Resource does not have the proper set of authentication params.
TeamsUserCallingSettings is the ONLY Teams resource not supporting ServicePrincipal yet. The Teams product group is working on adding support for its associated cmdlet but we do no yet have any ETA.
I will try to get the latest ETA on this and will report back.
Thank you, that makes sense! If it is far into the future it could be helpful to update the messages to tell the user that TeamsUserCallingSettings
doesn't support ServicePricipal
.
Still no ETA from the Teams PG. Will report back when I hear more.
Still no ETA. Keeping this open.
Looks like Set-CsUserCallingSettings
is no longer in the list of not supported cmdLets for Application-based Authentication. https://learn.microsoft.com/en-us/microsoftteams/teams-powershell-application-authentication#cmdlets-supported
@NikCharlebois Can you confirm?
I'm having the same issue here. Seems the TeamsUserCallingSettings component still can not be exported with certificate thumbprint, it will ignore all the certificate auth parameters and ask me to input my username and password.
It seems to work now, I'll send a PR shortly. I really don't like the domain to appear in the export instead of being replaced by $OrganizationName but that's going to be for another day.
TeamsUserCallingSettings "TeamsUserCallingSettings-AdeleV@REDACTED"
{
ApplicationId = $ConfigurationData.NonNodeData.ApplicationId;
CallGroupOrder = "Simultaneous";
CallGroupTargets = @();
CertificateThumbprint = $ConfigurationData.NonNodeData.CertificateThumbprint;
Ensure = "Present";
Identity = "AdeleV@REDACTED";
TenantId = $OrganizationName;
UnansweredDelay = "00:00:20";
}
Details of the scenario you tried and the problem that is occurring
I compared output from resources extracted during:
and:
Verbose logs showing the problem
N/A
Suggested solution to the issue
Use
Get-M365DSCAllResources
as source forFull
to ensureTeamsUserCallingSettings
is exported.The DSC configuration that is used to reproduce the issue (as detailed as possible)
Using Windows Server Core container, mcr.microsoft.com/windows/servercore:1809-amd64.
The operating system the target node is running
Version of the DSC module that was used ('dev' if using current dev branch)