power
10 TopicsPublishing Power App to Team Store Invalid App Manifest File
I was tasked to develop a power app and publish to Microsoft Team Store (Organization Only). I have done the application development. When I try to publish the App to App store , I got to know that team app manifest file need to be done. So I used guide can created the manifest file as bellow. { "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.7/MicrosoftTeams.schema.json", "manifestVersion": "1.7", "version": "1.0.0", "id": "c3396bee-dcd6-4d8e-a683-23f16a23d0b8", "packageName": "MyAppPackage", "developer": { "name": "API Team", "websiteUrl": "https://www.myOrg.com", "privacyUrl": "https://myOrg.com/privacy", "termsOfUseUrl": "https://myOrg.com/toc" }, "name": { "short": "my App Name", "full": "my app Long Name" }, "description": { "short": "my app short descrption.", "full": "My app long description." }, "icons": { "outline": "icon-outline.png", "color": "icon-color.png" }, "accentColor": "#FFBB00", "permissions": [ "identity", "messageTeamMembers" ], "validDomains": [ "virtusa.com" ], "defaultInstallScope": "personal", "powerAppInfo": { "powerAppId": "c3fd6bee-dcd6-gf8e-a683-23ere6a23d0b8", "entityId": "00000000-0000-0000-0000-000000000000", "webUrl": "power app url" } } When I validate this in Developer Portal I'm getting bellow validation issue Property "defaultInstallScope" has not been defined and the schema does not allow additional properties. Property "powerAppInfo" has not been defined and the schema does not allow additional properties. So I removed these properties and resubmitted, then app is properly validating, once I imported to Dev Portal and preview in teams I get bellow Unfortunately I do not get any installation option as a personal app in team app store. I have tried different app manifest version but still the same. I'm trying to host the app as personal app for team in my org. before doing that I use developer portal to validate and priview. the app should able to access by users in org (can publish to app sore)4KViews0likes6CommentsHow to add a new set of key & values in json file.
Problem Statement: I want to add a set of new key & value in existing parsed Json after specific index. or position. For example: I have imported Json in $Json variable and then I wanted to add new sets of property right after property name 'Service1'. I able to make the script working out for me. However, not able to add new sets of key & value or property after specific position in file. PowerShell Code: function Get-EnvironmentManifest([string]$Filename) { $Settings = Get-Content -Path $Filename -Encoding UTF8 | ConvertFrom-Json -ErrorAction STOP return $Settings } if (([System.Net.Dns]::GetHostByName($env:computerName)).HostName.Split('.')[0] -notmatch "UAT*") { $EnvironmentString = (([System.Net.Dns]::GetHostByName($env:computerName)).HostName.Split('.')[0].Split('-')[1]).ToUpper() for ($i = 1; $i -lt 5; $i++) { $ServiceName = 'Service' + [char](65 + $i) $HastTable = [ordered] @{"Name" = "Service1"; "ProfileType" = "Windows"; "ServiceName" = "$ServiceName";} $Settings = Get-EnvironmentManifest -Filename $TargetJSON $Asset = New-Object -TypeName PSObject $Asset | Add-Member -NotePropertyMembers $HastTable -TypeName 'Asset' $Settings.Profiles.Services += $Asset $Settings | ConvertTo-Json -Depth 3| Set-Content -Path $TargetJSON } } I Was Able to Create Following JSON Using Above PowerShell Code: { "Environment": {}, "Profiles": { "Services": [ { "Name": "A" }, { "Name": "B" }, { "Name": "C" }, { "Name": "D" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceA" }, { "Name": "E" }, { "Name": "F" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceB" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceC" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceD" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceE" } ] } } But I Want to Have Following Json: { "Environment": {}, "Profiles": { "Services": [ { "Name": "A" }, { "Name": "B" }, { "Name": "C" }, { "Name": "D" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceA" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceB" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceC" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceD" }, { "Name": "Service1", "ProfileType": "Windows", "ServiceName": "ServiceE" }, { "Name": "E" }, { "Name": "F" } ] } }Solved30KViews0likes3CommentsSharePoint and Power Automate integration
Hi everyone. I have stumbled upon something difficult for my level. I have created a SharePoint Task List and in the Task form I have added a Documents webpart. I have created a lookup record for the Document list looking to the task, so for each task will show only linked Documents. When I choose to add a Document it request from me to add the Lookup field to the Task. What I want to do is, when I am uploading a new Document, then to catch the ID of the Task form where the Document was uploaded from and update the lookup field automatically. Also to do the same when I drag and drop the file to upload. I have try any possible way with power automate, but I guess my knowledge is limited for this. Kind Regards ChrisLABELS WITH TEXT IS COMPRESSED
I am trying to load a power app in the Portrait screen, but when the app is embedded, all the text is compressed. This is a certificate and the text is inserted into labels to create the content. There is only one form field for the entire 2 page document. How do I get the app to look like the 8x11 portrait when embedded into SharePoint. V/R chudson002Power Query Merge Causing Dropped Rows
I don't know what is causing these but I am doing a merge with Power Query and losing rows when I click on expand. For simplicity sake I have two tables, one has Employee Number and Name and the other has Employee Number and Salary. Not all employees have a salary on the second table so I did a left hand-join using the names table as the master. When I do the join on step where it is just the merge, all of the data is still there, but as soon as I try to expand the salaries table to load that into the model rows start to disappear. The problem is that I then merge in 3 more tables with other information the same way and by the time I am done my 10k row table is down to 700 rows. Any ideas?2.8KViews0likes1Comment