User Profile
teams1535
Former Employee
Joined Apr 24, 2020
User Widgets
Recent Discussions
Re: Authenticating with an access token Connect-MicrosoftTeams
Update: Microsoft has released a preview version (2.1.0) of the Teams PowerShell module which works properly with modern authentication. It’s likely that this version will be pushed through to general availability quite quickly. Please go through this link for more information. https://office365itpros.com/2021/03/10/microsoft-updates-teams-powershell-module-2-0/23KViews0likes3CommentsRe: What is the expected scope of data availability from CQD version 3
Hi asavran call analytices and cqd dashboard both uses same database. cqd powershell api designed to pull the exact stream of the poor call or effected conference. Please find the link for more details. we need to use proper dimensions and measurements to pull the data from cqd. please check this link for more details. let us know if you need any information.690Views0likes0CommentsRe: Add ServiceAccount member to all teams via Powershell
Thomsch as per the error message " Insufficient privileges to complete the operation user should have admin access to add owner or member to Team. Above command is working fine. Please check is it now working for some teams or all teams you are facing the same issue. You can check GraphApi also to do the above job.2KViews0likes2CommentsRe: Provisioning Shifts (schedule) for a Microsoft Team via PowerShell
HiLauraFW currently below 4 methods are available to do Update-MgTeamSchedule. Currently MS doc is not available in the link. Please follow that link for the latest information. through powershell you will get more information (help update-mgteamschedule)command. Update-MgTeamSchedule -TeamId <String> [-Enabled] [-Id <String>] [-OfferShiftRequests <IMicrosoftGraphOfferShiftRequest[]>] [-OfferShiftRequestsEnabled] [-OpenShiftChangeRequests <IMicrosoftGraphOpenShiftChangeRequest[]>] [-OpenShifts <IMicrosoftGraphOpenShift[]>] [-OpenShiftsEnabled] [-ProvisionStatus <String>] [-ProvisionStatusCode <String>] [-SchedulingGroups <IMicrosoftGraphSchedulingGroup[]>] [-Shifts <IMicrosoftGraphShift[]>] [-SwapShiftsChangeRequests <IMicrosoftGraphSwapShiftsChangeRequest[]>] [-SwapShiftsRequestsEnabled] [-TimeClockEnabled] [-TimeOffReasons <IMicrosoftGraphTimeOffReason[]>] [-TimeOffRequests <IMicrosoftGraphTimeOffRequest[]>] [-TimeOffRequestsEnabled] [-TimeZone <String>] [-TimesOff <IMicrosoftGraphTimeOff[]>] [-WorkforceIntegrationIds <String[]>] [-Break] [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-PassThru] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [<CommonParameters>] Update-MgTeamSchedule -TeamId <String> -BodyParameter <IMicrosoftGraphSchedule> [-Break] [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-PassThru] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [<CommonParameters>] Update-MgTeamSchedule -InputObject <ITeamsTeamIdentity> [-Enabled] [-Id <String>] [-OfferShiftRequests <IMicrosoftGraphOfferShiftRequest[]>] [-OfferShiftRequestsEnabled] [-OpenShiftChangeRequests <IMicrosoftGraphOpenShiftChangeRequest[]>] [-OpenShifts <IMicrosoftGraphOpenShift[]>] [-OpenShiftsEnabled] [-ProvisionStatus <String>] [-ProvisionStatusCode <String>] [-SchedulingGroups <IMicrosoftGraphSchedulingGroup[]>] [-Shifts <IMicrosoftGraphShift[]>] [-SwapShiftsChangeRequests <IMicrosoftGraphSwapShiftsChangeRequest[]>] [-SwapShiftsRequestsEnabled] [-TimeClockEnabled] [-TimeOffReasons <IMicrosoftGraphTimeOffReason[]>] [-TimeOffRequests <IMicrosoftGraphTimeOffRequest[]>] [-TimeOffRequestsEnabled] [-TimeZone <String>] [-TimesOff <IMicrosoftGraphTimeOff[]>] [-WorkforceIntegrationIds <String[]>] [-Break] [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-PassThru] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [<CommonParameters>] Update-MgTeamSchedule -InputObject <ITeamsTeamIdentity> -BodyParameter <IMicrosoftGraphSchedule> [-Break] [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-PassThru] [-Proxy <Uri>] [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [<CommonParameters>]4.8KViews0likes0CommentsRe: Provisioning Shifts (schedule) for a Microsoft Team via PowerShell
Hi LauraFW you are getting error while excuting Update-MgTeamSchedule command. try to run the below command share the update if it wont works. Update-MgTeamSchedule -TeamId $tGroupId -Enabled $null and setting for time zone please go through below links. https://tahoeninjas.blog/2019/04/25/setting-the-default-timezone-for-sharepoint-online/ https://sharepoint.stackexchange.com/questions/264997/sharepoint-online-powershell-script-timezone-issue4.9KViews0likes1CommentRe: Using UseOAuth switch in the move to Teams command for 100Users password doesnt work all the time
could you please run below script and share the outcome. Try { $save = Import-Csv yarab1.csv -Header Identity } catch { Write-host "Couldnt find the file!! make sure the file located under C:\Temp - File Name: Yarab1.csv" -BackgroundColor Black -ForegroundColor red Write-Warning "File is missing or The process cannot access the file because it is being used by another process." -WarningAction Inquire } foreach ($save in $save1) { Try { $save1 Move-CsUser -Identity $.identity -Target sipfed.online.lync.com -Confirm:$false -UseOAuth -MoveToTeams -Force -BypassAudioConferencingCheck -BypassEnterpriseVoiceCheck -HostedMigrationOverrideUrl https://adminxx.online.lync.com/HostedMigration/hostedmigrationService.svc} catch {Write-Host "An error occurred: $.Identity couldn't be found" -ForegroundColor Yellow -BackgroundColor Red } {catch {Write-Host "Please check if user is enabled in AD or no user object for $.Identity"} Write-Warning "error occurred: moving the user $_.Identity. how do you want to be processed" -WarningAction Inquire } }1.1KViews0likes0CommentsRe: View everyone assigned to a meeting policy
Hi Joe Volk notedown the created custompolicyName. Please connect Teams using powershell run below command to get the users. Import-Module SkypeOnlineConnector $userCredential = Get-Credential $sfbSession = New-CsOnlineSession -Credential $userCredential Import-PSSession $sfbSession Get-CsOnlineUser -Filter {TeamsMeetingPolicy -eq 'CustompolicyName'}|fl UserPrincipalName846Views0likes0CommentsRe: How to make source code from CQDPowerShell cmdlet acquiring access token non-interactively
Oleksii_Kolinko Please find the code here in gitrepo. here we used loop the access code to generate each time for the requirement. Token1, Token2, Token3 will generate in each request. Please find the code for getting Refresh token. Use this function to call each time to retrieve or get the access token. Please check above solutions and let us know if you need any thing.3.5KViews0likes1Comment
Recent Blog Articles
No content to show