Category : azure

I’m deploying a new version of my Laravel PHP application on a Azure app service plan via the deployment center (via Bitbucket). The application used to deploy without problems but it fails with the following error in my log > IlluminateFoundationComposerScripts::postAutoloadDump > @php artisan package:discover DoctrineDBALDriverPDOException could not find driver at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 14| final class ..

Read more

In Laravel, I set my SQL Server connection string like this in the .env file: – DB_CONNECTION=mssql DB_HOST=sql-server123.database.windows.net DB_PORT=1433 DB_DATABASE=dev-db-123 DB_USERNAME=user123 DB_PASSWORD=pass123 But now I’d like to format my connection string to connect to SQL Azure using the system-assigned managed identity provided by Azure Cloud. As a test, I used Microsoft’s example to connect using ..

Read more

Hello i created a linux server on microsoft Azure to host my Laravel application , it works perfectly on my local machine but it doesn’t work on the server. I changed the permission to 0755 but nothing seems to be working. i still get the same error. please can someone give me any suggestions or ..

Read more

Folks, I home my question ist not too boring. I’m very new in Laravel and fighting around with accessing the access_token I receive from the Socialite over the LoginController to reuse it for other API calls. I can see the access_token after logging in and return it from the LoginController $azUser = Socialite::driver(‘azure’)->user(); No I ..

Read more

I was able to follow the Microsoft PHP tutorial page https://docs.microsoft.com/en-us/azure/app-service/tutorial-php-mysql-app?pivots=platform-linux with their sample application OK. But once I copied my own Laravel application in and uploaded, my application did not work – even no home page ( it works locally on my machine). I feel something is wrong with this section https://docs.microsoft.com/en-us/azure/app-service/configure-language-php?pivots=platform-linux#change-site-root "Change site ..

Read more

I was able to follow the Microsoft PHP tutorial page https://docs.microsoft.com/en-us/azure/app-service/tutorial-php-mysql-app?pivots=platform-linux with their sample application OK. But once I copied my own Laravel application in and uploaded, my application did not work – even no home page ( it works locally on my machine). I feel something is wrong with this section https://docs.microsoft.com/en-us/azure/app-service/configure-language-php?pivots=platform-linux#change-site-root "Change site ..

Read more

I’m creating a task that will retrieve the messages in outlook mail with Microsoft Azure Active Directory. I setup my azure account. Register an app, add certificate then add user to my AD. My signin method returns an access token which means signin is successful and pass the access token to outlook messages API. but ..

Read more

I have facing problem on running PHP Laravel on Azure App Service with Windows environment. I have follow this tutorial on my current laravel app: https://docs.microsoft.com/en-us/azure/app-service/tutorial-php-mysql-app?pivots=platform-windows I have set the virtual path into public: While the app is running functionally, but the css and image are not loaded. The images and css are all in ..

Read more

In my Laravel-5.8, I am using Azure Socialite for login. After any successful login, it redirects the user to the dashboard. And this is working correctly. services ‘azure’ => [ ‘client_id’ => env(‘AZURE_KEY’,’33errtt’), ‘client_secret’ => env(‘AZURE_SECRET’,’ddffrrr’), ‘redirect’ => env(‘AZURE_REDIRECT_URI’,’http://localhost:8888/myapp/login/azure/callback’) ], routeweb.php Route::get(‘login/azure’, ‘[email protected]’)->name(‘azure.login’); Route::get(‘login/azure/callback’, ‘[email protected]’); Route::group([‘prefix’ => ‘leave’, ‘as’ => ‘leave.’, ‘namespace’ => ‘Leave’, ‘middleware’ ..

Read more

I am trying to get the role form Azure AD by using metrogistics/laravel-azure-ad-oauth socialiate plugin. I got the name and email and azure_id from the Azure. But I can’t get the user role. user: array:12 [ “@odata.context” => “https://graph.microsoft.com/v1.0/$metadata#users/$entity” “businessPhones” => [] “displayName” => “Test4” “givenName” => “Test4” “jobTitle” => null “mail” => null “mobilePhone” ..

Read more