azure

Excel Power Query - Is it possible to connect to Azure Blob Storage with SAS authentication or Azure AD account

那年仲夏 提交于 2021-02-16 20:32:07
问题 I am accessing a container from a Azure Blob Storage with Excel, we connect through "New Query" but only gives the option to access with the Account Key. After logging the permissions are saved in Data source setting with the Account Key. To access that Azure Blob Storage from VBA is enough with the function from Power Query AzureStorage.Blobs (https://docs.microsoft.com/en-us/powerquery-m/azurestorage-blobs). ¿Is It possible to do the same with SAS (Shared Access Signature) Token or Azure AD

Arithmetic overflow error converting expression to data type int for basic statistics

社会主义新天地 提交于 2021-02-16 20:18:16
问题 I am trying to do a basic query that calculates average, min, max, and count. SELECT MIN(column) as min, MAX(column) as max, AVG(column) as avg, count(*) as count FROM database.dbo.table; Where column is of type int , and the database is azure sql standard. and in return, i get an error: "Arithmetic overflow error converting expression to data type int" Why is int getting a casting-to-int problem in the first place? and is there something I can add that will make this work on all numerical

How to call azure graph api using postman

六月ゝ 毕业季﹏ 提交于 2021-02-16 18:14:06
问题 I am trying to call graph api to get user information. I am using postman to get the token first and then using that token trying to make a request to graph api I get the token with below post request and with 4 key values for grant_type, client_id, client_secret and resource. https://login.microsoftonline.com/{{tenantid}}/oauth2/token The response is { "token_type": "Bearer", "expires_in": "3600", "ext_expires_in": "3600", "expires_on": "1555583717", "not_before": "1555579817", "resource":

Why is my python timer trigger function not running at the correct time?

主宰稳场 提交于 2021-02-16 18:08:16
问题 this is probably a noob question. I have an Azure Function that responds to HTTP requests and it works fine, I can call it from a browser or from a Python 3.8 script. I want to make another function that will have Timer Trigger and will call the HTTP trigger function on a schedule. HTTP Trigger function returns a simple string with execution results. Now my code for Timer trigger function is using Python Requests and it works locally every time, but will work only 1/10 times when deployed to

Why is my python timer trigger function not running at the correct time?

妖精的绣舞 提交于 2021-02-16 18:07:16
问题 this is probably a noob question. I have an Azure Function that responds to HTTP requests and it works fine, I can call it from a browser or from a Python 3.8 script. I want to make another function that will have Timer Trigger and will call the HTTP trigger function on a schedule. HTTP Trigger function returns a simple string with execution results. Now my code for Timer trigger function is using Python Requests and it works locally every time, but will work only 1/10 times when deployed to

Azure SQL Database Development Environment

假装没事ソ 提交于 2021-02-16 14:03:06
问题 How can I setup SQL Azure Database for development. I currently have few SQL databases ProjectName-Development, ProjectName-Staging, ProjectName-Production ... Is this the right way? This is getting more and more expensive. 回答1: I would recommend (from experience) using Azure only for Staging and Production environments. SQL Server 2016 Developer Edition is free (so is SSMS) so you can do all of your local development ... locally. When you're ready to go to staging, you can then perform a

Azure Blob Storage Pre-Signed Url Features

泪湿孤枕 提交于 2021-02-16 13:36:30
问题 As my experiences, AWS S3 has a feature called pre-signed. Which allows me to issue a url with specific expiry time to access. I cannot find any details about that on Azure official website. So, does anyone know if Azure Blob Storage can support pre-signed url features? 回答1: does anyone know if Azure Blob Storage can support pre-signed url features? Yes, Azure Blob Storage supports that. It is called Shared Access Signature (SAS) in Azure Storage. A SAS enables you to provide time-bound,

Azure Blob Storage Pre-Signed Url Features

戏子无情 提交于 2021-02-16 13:35:05
问题 As my experiences, AWS S3 has a feature called pre-signed. Which allows me to issue a url with specific expiry time to access. I cannot find any details about that on Azure official website. So, does anyone know if Azure Blob Storage can support pre-signed url features? 回答1: does anyone know if Azure Blob Storage can support pre-signed url features? Yes, Azure Blob Storage supports that. It is called Shared Access Signature (SAS) in Azure Storage. A SAS enables you to provide time-bound,

Blazor using Azure AD authentication allowing anonymous access

≯℡__Kan透↙ 提交于 2021-02-16 09:27:27
问题 I'm currently writing a (Server side) Blazor application that includes the default AzureAD Authentication. This works well for authenticated users - challenging on the entrance ( _Host.cshtml ) file, redirecting and then back once authenticated. I need to have a couple of pages not requiring authentication - I don't want the user being challenged and redirected to Microsoft. What is the correct way to do this? I have experimented with the AllowAnonymousAttribute , the AllowAnonymousToPage

Blazor using Azure AD authentication allowing anonymous access

不打扰是莪最后的温柔 提交于 2021-02-16 09:27:06
问题 I'm currently writing a (Server side) Blazor application that includes the default AzureAD Authentication. This works well for authenticated users - challenging on the entrance ( _Host.cshtml ) file, redirecting and then back once authenticated. I need to have a couple of pages not requiring authentication - I don't want the user being challenged and redirected to Microsoft. What is the correct way to do this? I have experimented with the AllowAnonymousAttribute , the AllowAnonymousToPage