{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/4816","repository_url":"https://api.github.com/repos/Azure/azure-powershell","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/4816/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/4816/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/4816/events","html_url":"https://github.com/Azure/azure-powershell/issues/4816","id":266737634,"node_id":"MDU6SXNzdWUyNjY3Mzc2MzQ=","number":4816,"title":"help wanted - Publish-AzureWebsiteProject does not work when *.zip is created via Compress-Archive","user":{"login":"PiotrKowalski93","id":19981961,"node_id":"MDQ6VXNlcjE5OTgxOTYx","avatar_url":"https://avatars0.githubusercontent.com/u/19981961?v=4","gravatar_id":"","url":"https://api.github.com/users/PiotrKowalski93","html_url":"https://github.com/PiotrKowalski93","followers_url":"https://api.github.com/users/PiotrKowalski93/followers","following_url":"https://api.github.com/users/PiotrKowalski93/following{/other_user}","gists_url":"https://api.github.com/users/PiotrKowalski93/gists{/gist_id}","starred_url":"https://api.github.com/users/PiotrKowalski93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiotrKowalski93/subscriptions","organizations_url":"https://api.github.com/users/PiotrKowalski93/orgs","repos_url":"https://api.github.com/users/PiotrKowalski93/repos","events_url":"https://api.github.com/users/PiotrKowalski93/events{/privacy}","received_events_url":"https://api.github.com/users/PiotrKowalski93/received_events","type":"User","site_admin":false},"labels":[{"id":148835975,"node_id":"MDU6TGFiZWwxNDg4MzU5NzU=","url":"https://api.github.com/repos/Azure/azure-powershell/labels/App%20Services","name":"App Services","color":"DDDDDD","default":false}],"state":"open","locked":false,"assignee":{"login":"ahmedelnably","id":7810433,"node_id":"MDQ6VXNlcjc4MTA0MzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7810433?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedelnably","html_url":"https://github.com/ahmedelnably","followers_url":"https://api.github.com/users/ahmedelnably/followers","following_url":"https://api.github.com/users/ahmedelnably/following{/other_user}","gists_url":"https://api.github.com/users/ahmedelnably/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedelnably/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedelnably/subscriptions","organizations_url":"https://api.github.com/users/ahmedelnably/orgs","repos_url":"https://api.github.com/users/ahmedelnably/repos","events_url":"https://api.github.com/users/ahmedelnably/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedelnably/received_events","type":"User","site_admin":false},"assignees":[{"login":"ahmedelnably","id":7810433,"node_id":"MDQ6VXNlcjc4MTA0MzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7810433?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedelnably","html_url":"https://github.com/ahmedelnably","followers_url":"https://api.github.com/users/ahmedelnably/followers","following_url":"https://api.github.com/users/ahmedelnably/following{/other_user}","gists_url":"https://api.github.com/users/ahmedelnably/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedelnably/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedelnably/subscriptions","organizations_url":"https://api.github.com/users/ahmedelnably/orgs","repos_url":"https://api.github.com/users/ahmedelnably/repos","events_url":"https://api.github.com/users/ahmedelnably/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedelnably/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-10-19T06:55:27Z","updated_at":"2018-06-04T20:20:19Z","closed_at":null,"author_association":"NONE","body":"### PowerShell Version\r\nName                          Value                                                                                                                                                                                                                                     \r\nPSVersion                      5.1.14393.1715                                                                                                            \r\nPSEdition                      Desktop                                                                                                                   \r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                   \r\nBuildVersion                   10.0.14393.1715                                                                                                           \r\nCLRVersion                     4.0.30319.42000                                                                                                           \r\nWSManStackVersion              3.0                                                                                                                       \r\nPSRemotingProtocolVersion      2.3                                                                                                                       \r\nSerializationVersion           1.1.0.1   \r\n\r\n### Description\r\n\r\nHello,\r\n\r\nI am working on build and deploy script. First I have to prepare deploy.zip package. To do that I was using Compress-Archive in my build script, but when I tried to use:\r\n\r\nPublish-AzureWebsiteProject -Name ServiceName -Package \"XXXXX\\deploy.zip\"\r\n\r\nI got an Error:\r\n\r\nPublish-AzureWebsiteProject : (xx.xx.xxxx,xx:xx) An error occurred when the request was processed on the remote computer.\r\nOnly 80% of files were deployed in Azure App Service. All static files were missing.\r\nBut when took that package -> uzip -> righ click -> send to -> Compressed folder\r\nI was able to deploy all files. When I used 7za.exe in my build script all files were deployed.\r\n\r\nDo you know what is the issue here?"},"comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments/394485507","html_url":"https://github.com/Azure/azure-powershell/issues/4816#issuecomment-394485507","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/4816","id":394485507,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDQ4NTUwNw==","user":{"login":"EricSten-MSFT","id":27699852,"node_id":"MDQ6VXNlcjI3Njk5ODUy","avatar_url":"https://avatars3.githubusercontent.com/u/27699852?v=4","gravatar_id":"","url":"https://api.github.com/users/EricSten-MSFT","html_url":"https://github.com/EricSten-MSFT","followers_url":"https://api.github.com/users/EricSten-MSFT/followers","following_url":"https://api.github.com/users/EricSten-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/EricSten-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/EricSten-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricSten-MSFT/subscriptions","organizations_url":"https://api.github.com/users/EricSten-MSFT/orgs","repos_url":"https://api.github.com/users/EricSten-MSFT/repos","events_url":"https://api.github.com/users/EricSten-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/EricSten-MSFT/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T20:20:19Z","updated_at":"2018-06-04T20:20:19Z","author_association":"NONE","body":"PowerShell's zip functionality is incompatible with WebDeploy.  You should use MSDeploy to create the .zip package.  Other archivers, like 7Zip, have been used to successfully create an archive for use with WebDeploy."}}
{"actor":{"display_login":"EricSten-MSFT"}}