microsoft-teams-apps-requestateam
microsoft-teams-apps-requestateam copied to clipboard
Getting errors when running the script provided by this GitHub deployment documentation
Description
When running the script I get these 3 errors:
Launching Azure sign-in...
Connect-AzAccount : An error occurred while sending the request.
At G:\NextCloud Data\Downloads\microsoft-teams-apps-requestateam-Latest\Deployment\Scripts\deploy.ps1:794 char:14
+ ... azConnect = Connect-AzAccount -Subscription $SubscriptionId -Tenant $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Connect-AzAccount], HttpRequestException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand
### AZURE AD APP CREATION FINISHED ###
### TEAMS REQUESTS SITE CREATION ###
Creating Teams Requests SharePoint site...
New-PnPSite : The remote name could not be resolved: 'relyfinance-admin.sharepoint.com'
At G:\NextCloud Data\Downloads\microsoft-teams-apps-requestateam-Latest\Deployment\Scripts\deploy.ps1:332 char:13
+ New-PnPSite -Type TeamSite -Title $RequestsSiteName -Alia ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [New-PnPSite], WebException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.NewSite
Site created
**TEAMS REQUESTS SITE CREATION COMPLETE**
### REQUESTS SPO SITE CONFIGURATION ###
Configuring SharePoint site...
Applying provisioning template...
Invoke-PnPSiteTemplate : The remote name could not be resolved: 'relyfinance.sharepoint.com'
At G:\NextCloud Data\Downloads\microsoft-teams-apps-requestateam-Latest\Deployment\Scripts\deploy.ps1:361 char:9
+ Invoke-PnPSiteTemplate -Path (Join-Path $packageRootPath $tem ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Invoke-PnPSiteTemplate], WebException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.InvokeSiteTemplate
Applied template
Error occured while configuring the SharePoint site: Exception calling "ExecuteQuery" with "0" argument(s): "The remote name could not be resolved: 'relyfinance.sharepoint.com'"
Steps to reproduce
Following the Deployment steps documented in this GitHub
Expected results
Fully deployed solution in tenant
Actual Results
Script finishes, but team sharepoint site is not created. Half of the things are only completed, but the other half is missing. Azure resources are created and that is it.
Solution component
Deployment Script
Operating system (environment)
Windows
Additional Info
No response
@Rykimaruh please can you check the parameters you are using, for 'TenantName' are you providing 'relyfinance' only? Is this your SharePoint tenant? The script seems to be struggling to find that tenant.