Azure Level 3 Task 7

Hello everyone.

I can’t complete this task.
When I’m trying to create pipeline with PHP application in Azure pipelines, I’m choosing “PHP as Linux Web App on Azure”, choose my created PHP application and getting the following error -

Failed to set Azure permission 'RoleAssignmentId: 36524ead-7f9f-44c5-9888-f73bab38f71c' for the service principal '66c04ed6-c3ba-491a-a6f7-e92178d03e97' on subscription ID 'a2b28c85-1948-4263-90ca-bade2bac4df4': error code: Forbidden, inner error code: AuthorizationFailed, inner error message The client 'kk_lab_user_main-ea33f7d62a804567@azurekmlprodkodekloud.onmicrosoft.com' with object id '97936f13-bbd8-4fac-bbdc-c90fc4742e0b' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/providers/Microsoft.Authorization/roleAssignments/36524ead-7f9f-44c5-9888-f73bab38f71c' or the scope is invalid. If access was recently granted, please refresh your credentials. Ensure that the user has 'Owner' or 'User Access Administrator' permissions on the Subscription.

When I click task validation, I’m getting the following error -
The repository ‘xfusion-repo’ does not exist in the specified Azure organization ‘ea33f7d62a804567’ and project ‘xfusion-project’.

Are there any issues on Kodekloud side or how it can be completed?

I hit the same permission issue, but it can be avoided by using FTP upload task to get the code from repository to Azure Web app. However even after that validation fails with the same message…

@raymond.baoly Could you please also verify this task?

1 Like

Hi,

I’m facing the same issue and can’t create service connections to Azure for deploying the App Service. I’ve forwarded it to the team, and we’ll look into it. I’ll update you once it’s resolved.

1 Like

Hi guys,

The team has updated the task and we don’t need to use the pipeline to deploy the app service anymore, please try again.

1 Like

Was able to pass it, thank you

1 Like