Month: June 2024
New look for Intune Company Portal app for Windows
By: Maggie Dakeva – Sr Product Manager | Microsoft Intune
We’re excited to announce that the Intune Company Portal app for Windows is getting a new modernized design. Users will be able to use the same functionality they’re used to with an improved experience on their desktop app. This blog covers what’s changing and how to prepare.
Available for preview now, released to the Microsoft Store in August 2024
A preview version for the updated Company Portal is now available for download in the Microsoft Download center. The preview will be available until late August. It should only be used for testing purposes and updating your IT admin and user documentation. We’ll release the new Company Portal to the Microsoft Store in late August and it’ll automatically update for all users where Microsoft Store apps are configured to auto-update. See Common Store policy settings and their impact on Microsoft Store apps for details on enabling and configuring Microsoft Store app updates.
How to deploy the preview
Download the Company Portal app installation file and all dependencies applicable to your device architecture. Navigate to the Microsoft Intune admin center and Add a Windows line-of-business app to Microsoft Intune. Assign the app to a small group of test devices or users.
On your device, sync with Intune and confirm the Company Portal app installed correctly.
Important: If Company Portal from the Microsoft Store is also assigned to the same user/device, make sure you have the latest preview version. Company Portal automatically updates to the latest version targeted so your preview version needs to be higher than the version available in the Microsoft Store.
What to expect
With the updated design, users will see improvements in user experience for the Home, Devices, and Downloads & updates pages. The new design is more intuitive and highlights areas where users need to take action.
Home
The Home page displays apps, including featured apps, and shows the device status overview in the top right corner. The side menu icons have also been updated.
Downloads & updates
The Downloads & updates page shows installed apps and apps currently in the download queue. In the above example, 7-Zip is currently installing, and progress for this installation has just reached 100%.
Notifications
There is a new Notifications button on the Home page which shows a list of the latest notifications.
Device
The Device page highlights compliance status in a color-coded block which helps users spot issues more easily. They can also view suggested remediation steps, review device information, and take actions for the device.
Send feedback
If you have any feedback for the product group, reach out via the Feedback hub or reply directly to this blog.
Frequently asked questions
Q: Will there be improvements in the functionality or new features available with this update?
A: While the redesign offers improvement to the user experience, there is no intended change to the supported feature-set at this time.
Q: Can I use the preview version in my production tenant?
A: You can use the preview version in production tenants for testing purposes but keep in mind that this version will be removed from Microsoft Download center as soon as we release to the Microsoft Store at the end of July 2024.
Q: Is it possible to keep using the old look for Company Portal?
A: When we release the new Company Portal design to the Microsoft Store, it’ll automatically update for users who have configured the Microsoft Store to update apps automatically. If you haven’t configured this, you’ll continue to use the old version until you decide to update it manually using the Microsoft Store app on the device itself. It’ll not be possible to download any updated version of the old Company Portal look.
Stay tuned to this post for updates on the release to the Microsoft Store! If you have any questions or feedback, fill out the feedback form or leave a comment below.
Microsoft Tech Community – Latest Blogs –Read More
Is there a reason why {‘charVector’} is not considered a text scalar for argument validation purposes?
It seems like a software design inconsistency to me that this passes validation,
mustBeText({‘charVector’})
mustBeScalarOrEmpty({‘charVector’})
but this does not,
mustBeTextScalar({‘charVector’})
Is there a logic to this?It seems like a software design inconsistency to me that this passes validation,
mustBeText({‘charVector’})
mustBeScalarOrEmpty({‘charVector’})
but this does not,
mustBeTextScalar({‘charVector’})
Is there a logic to this? It seems like a software design inconsistency to me that this passes validation,
mustBeText({‘charVector’})
mustBeScalarOrEmpty({‘charVector’})
but this does not,
mustBeTextScalar({‘charVector’})
Is there a logic to this? argument validation, property validation, text scalar MATLAB Answers — New Questions
📝 Teams Premium – Intelligent Recap additional language pack availability
Hi all,
as you all know in the end of April ’24 language pack for Copilot became available. Since Intelligent Recap it’s a functionality available in both Copilot for M365 and Teams Premium, it seems logical to expect support of this language pack in Teams Premium Intelligent Recap too (I also asked about it during Copilot webinar and got confirmation).
I do not have Copilot for M365 license, but my colleague tested and said that Intelligent Recap with Copilot license already has new language pack support and creates summary from meetings, but in Teams Premium I’m still don’t see it.
So, I wanted to ask if anybody knows for sure would Intelligent Recap in Teams Premium get support of that language pack, and if so – when?
Would appreciate any information!
Hi all,as you all know in the end of April ’24 language pack for Copilot became available. Since Intelligent Recap it’s a functionality available in both Copilot for M365 and Teams Premium, it seems logical to expect support of this language pack in Teams Premium Intelligent Recap too (I also asked about it during Copilot webinar and got confirmation). I do not have Copilot for M365 license, but my colleague tested and said that Intelligent Recap with Copilot license already has new language pack support and creates summary from meetings, but in Teams Premium I’m still don’t see it.So, I wanted to ask if anybody knows for sure would Intelligent Recap in Teams Premium get support of that language pack, and if so – when?Would appreciate any information! Read More
Databricks with Simba spark ODBC dsn
I am using the Simba Spark ODBC driver to create a dsn to connect to a Databricks instance. When tested, it passes. When I go in to Access to link to the data, Access is only pulling a subset of the available tables and views. If I try to attach Databricks to Excel, using the same dsn, it returns all schemas, views and tables. Any help would be appreciated getting Access to work correcctly.
I am using the Simba Spark ODBC driver to create a dsn to connect to a Databricks instance. When tested, it passes. When I go in to Access to link to the data, Access is only pulling a subset of the available tables and views. If I try to attach Databricks to Excel, using the same dsn, it returns all schemas, views and tables. Any help would be appreciated getting Access to work correcctly. Read More
How to save the figure generated by pcplayer
Hi, I visualize map points estimated by SLAM as a point cloud using the pcplayer. I am wondering if there is a programatic way to save the plot as a video or a figure file. I tried using saveas() function but the object created by pcplayer is different from the figure handle.
For example, suppose I have a steam of 3D point cloud data like below. What would be the best way to save the stream as a video?
player = pcplayer([0 1],[0 1],[0 1]);
while isOpen(player)
ptCloud = pointCloud(rand(1000,3,"single"));
view(player,ptCloud);
endHi, I visualize map points estimated by SLAM as a point cloud using the pcplayer. I am wondering if there is a programatic way to save the plot as a video or a figure file. I tried using saveas() function but the object created by pcplayer is different from the figure handle.
For example, suppose I have a steam of 3D point cloud data like below. What would be the best way to save the stream as a video?
player = pcplayer([0 1],[0 1],[0 1]);
while isOpen(player)
ptCloud = pointCloud(rand(1000,3,"single"));
view(player,ptCloud);
end Hi, I visualize map points estimated by SLAM as a point cloud using the pcplayer. I am wondering if there is a programatic way to save the plot as a video or a figure file. I tried using saveas() function but the object created by pcplayer is different from the figure handle.
For example, suppose I have a steam of 3D point cloud data like below. What would be the best way to save the stream as a video?
player = pcplayer([0 1],[0 1],[0 1]);
while isOpen(player)
ptCloud = pointCloud(rand(1000,3,"single"));
view(player,ptCloud);
end matlab, plotting MATLAB Answers — New Questions
How can I use the pointAt function within the satelliteScenario object to create a sun-pointing satellite?
I am looking to be able to easily create sun-pointing satellites in the satelliteScenario object. I am trying to determine if there is any way to have easily have the pointAt funciton allow me to direct the satellite view towards the sun. Is there any way to access the sun asset within a satelliteScenario object? I have not been able to find any documentation that would indicate that the sun is accessible by the user, yet it is visible and present within the viewer.
Here is an example of the kind of thing I am looking to do:
mission.StartDate = datetime(2024,6,3);
mission.Duration = hours(12);
Rinexdata = rinexread("EXAMPLE_RINEX.rnx");
sc = satelliteScenario(mission.StartDate,mission.StartDate+mission.Duration,60);
sat = satellite(sc,Rinexdata);
Payload = satellite(sc,6878137,0,Inclination,Omega,0,0);
g = gimbal(Payload,"MountingAngles",[0; 0; 0]);
%% I am looking to have this work, so that I can point it at the sun
pointAt(g,SUN)
sensor = conicalSensor(g,MaxViewAngle=179);
fieldOfView(sensor);
access = access(sensor,sat);
viewer3D = satelliteScenarioViewer(sc);
show(access)
hide(sat.Orbit)I am looking to be able to easily create sun-pointing satellites in the satelliteScenario object. I am trying to determine if there is any way to have easily have the pointAt funciton allow me to direct the satellite view towards the sun. Is there any way to access the sun asset within a satelliteScenario object? I have not been able to find any documentation that would indicate that the sun is accessible by the user, yet it is visible and present within the viewer.
Here is an example of the kind of thing I am looking to do:
mission.StartDate = datetime(2024,6,3);
mission.Duration = hours(12);
Rinexdata = rinexread("EXAMPLE_RINEX.rnx");
sc = satelliteScenario(mission.StartDate,mission.StartDate+mission.Duration,60);
sat = satellite(sc,Rinexdata);
Payload = satellite(sc,6878137,0,Inclination,Omega,0,0);
g = gimbal(Payload,"MountingAngles",[0; 0; 0]);
%% I am looking to have this work, so that I can point it at the sun
pointAt(g,SUN)
sensor = conicalSensor(g,MaxViewAngle=179);
fieldOfView(sensor);
access = access(sensor,sat);
viewer3D = satelliteScenarioViewer(sc);
show(access)
hide(sat.Orbit) I am looking to be able to easily create sun-pointing satellites in the satelliteScenario object. I am trying to determine if there is any way to have easily have the pointAt funciton allow me to direct the satellite view towards the sun. Is there any way to access the sun asset within a satelliteScenario object? I have not been able to find any documentation that would indicate that the sun is accessible by the user, yet it is visible and present within the viewer.
Here is an example of the kind of thing I am looking to do:
mission.StartDate = datetime(2024,6,3);
mission.Duration = hours(12);
Rinexdata = rinexread("EXAMPLE_RINEX.rnx");
sc = satelliteScenario(mission.StartDate,mission.StartDate+mission.Duration,60);
sat = satellite(sc,Rinexdata);
Payload = satellite(sc,6878137,0,Inclination,Omega,0,0);
g = gimbal(Payload,"MountingAngles",[0; 0; 0]);
%% I am looking to have this work, so that I can point it at the sun
pointAt(g,SUN)
sensor = conicalSensor(g,MaxViewAngle=179);
fieldOfView(sensor);
access = access(sensor,sat);
viewer3D = satelliteScenarioViewer(sc);
show(access)
hide(sat.Orbit) matlab MATLAB Answers — New Questions
Azure Maps not displaying on .Net Framework Web App
Hi,
I just created a subscription for Azure Maps. I’m using Visual Studio 2019 for my web application using .Net Framework 4.8, MVC.
My references in the layout web page are:
<!–Add reference to Azure Maps–>
<link href=”https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.css” rel=”stylesheet” type=”text/css” />
<!– Add a reference to the Azure Maps Services SDK JavaScript file. –>
<script src=”https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.js“></script>
The function to initialize the Azure Maps is:
function GetMap() {
// Initialize a map instance.
map = new atlas.Map(‘divMap’, {
center: [39.011902, -98.484247],
zoom: 5,
view: ‘Auto’,
// Add authentication details for connecting to Azure Maps.
authOptions: {
// Use an Azure Maps key.
// Get an Azure Maps key at https://azure.com/maps.
// NOTE: The primary key should be used as the key.
authType: ‘subscriptionKey’,
clientId: azureMapsClientId,
subscriptionKey: azureKey
}
});
}
Why is the map not showing? I just want to display a satellite imagery of the US as background map.
Appreciate any help.
Hi, I just created a subscription for Azure Maps. I’m using Visual Studio 2019 for my web application using .Net Framework 4.8, MVC. My references in the layout web page are:<!–Add reference to Azure Maps–><link href=”https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.css” rel=”stylesheet” type=”text/css” /><!– Add a reference to the Azure Maps Services SDK JavaScript file. –><script src=”https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.js”></script> The function to initialize the Azure Maps is:function GetMap() {// Initialize a map instance.map = new atlas.Map(‘divMap’, {center: [39.011902, -98.484247],zoom: 5,view: ‘Auto’,// Add authentication details for connecting to Azure Maps.authOptions: {// Use an Azure Maps key.// Get an Azure Maps key at https://azure.com/maps.// NOTE: The primary key should be used as the key.authType: ‘subscriptionKey’,clientId: azureMapsClientId,subscriptionKey: azureKey}});} Why is the map not showing? I just want to display a satellite imagery of the US as background map. Appreciate any help. Read More
Sharing invites as a link
I am creating an optional event in a shared mailbox calendar (so no Teams for it). I would like a way for people to be able to click on a link to say they want to attend and for it to be added to their personal calendar. I particularly want a link rather than an iCal attachment. Can this be done, and if so how?
I am creating an optional event in a shared mailbox calendar (so no Teams for it). I would like a way for people to be able to click on a link to say they want to attend and for it to be added to their personal calendar. I particularly want a link rather than an iCal attachment. Can this be done, and if so how? Read More
How to remove time from date and time data in one cell
I have an Excel spreadsheet of 2000 records with the date DD MM YYYY and time HH:MM:SS in the same column and I want to remove the time detail from the column. Any suggestions how I might do this ?
I have an Excel spreadsheet of 2000 records with the date DD MM YYYY and time HH:MM:SS in the same column and I want to remove the time detail from the column. Any suggestions how I might do this ? Read More
Create and manage approval requests for a Word document
Hi Microsoft 365 Insiders!
Happy Monday! We’re delighted to unveil a new add-in that simplifies the approval process for your Word documents. Now, you can create and manage approval requests without leaving Word, ensuring a seamless and efficient workflow.
Discover all the ins and outs in our comprehensive blog post by Connor Rodewald, Senior Product Manager on the Low Code Experience team: Create and manage approval requests for a Word document
Thanks,
Perry Sjogren
Microsoft 365 Insider Social Media Manager
Become a Microsoft 365 Insider and gain exclusive access to new features and help shape the future of Microsoft 365. Join Now: Windows | Mac | iOS | Android
Hi Microsoft 365 Insiders!
Happy Monday! We’re delighted to unveil a new add-in that simplifies the approval process for your Word documents. Now, you can create and manage approval requests without leaving Word, ensuring a seamless and efficient workflow.
Discover all the ins and outs in our comprehensive blog post by Connor Rodewald, Senior Product Manager on the Low Code Experience team: Create and manage approval requests for a Word document
Thanks,
Perry Sjogren
Microsoft 365 Insider Social Media Manager
Become a Microsoft 365 Insider and gain exclusive access to new features and help shape the future of Microsoft 365. Join Now: Windows | Mac | iOS | Android
Read More
How to use Azure OpenAI GPT-4o with Function calling
Introduction
In this article we will demonstrate how we leverage GPT-4o capabilities, using images with function calling to unlock multimodal use cases.
We will simulate a package routing service that routes packages based on the shipping label using OCR with GPT-4o.
The model will identify the appropriate function to call based on the image analysis and the predefined actions for routing to the appropriate continent.
Background
The new GPT-4o (“o” for “omni”) can reason across audio, vision, and text in real time.
It can respond to audio inputs in as little as 232 milliseconds, with an average of 320 milliseconds, which is similar to human response time in a conversation.
It matches GPT-4 Turbo performance on text in English and code, with significant improvement on text in non-English languages, while also being much faster and 50% cheaper in the API.
GPT-4o is especially better at vision and audio understanding compared to existing models.
GPT-4o now enables function calling.
The application
We will run a Jupyter notebook that connects to GPT-4o to sort packages based on the printed labels with the shipping address.
Here are some sample labels we will be using GPT-4o for OCR to get the country this is being shipped to and GPT-4o functions to route the packages.
The environment
The code can be found here – Azure OpenAI code examples
Make sure you create your python virtual environment and fill the environment variables as stated in the README.md file.
The code
Connecting to Azure OpenAI GPT-4o deployment.
from dotenv import load_dotenv
from IPython.display import display, HTML, Image
import os
from openai import AzureOpenAI
import json
load_dotenv()
GPT4o_API_KEY = os.getenv(“GPT4o_API_KEY”)
GPT4o_DEPLOYMENT_ENDPOINT = os.getenv(“GPT4o_DEPLOYMENT_ENDPOINT”)
GPT4o_DEPLOYMENT_NAME = os.getenv(“GPT4o_DEPLOYMENT_NAME”)
client = AzureOpenAI(
azure_endpoint = GPT4o_DEPLOYMENT_ENDPOINT,
api_key=GPT4o_API_KEY,
api_version=”2024-02-01″
)
Defining the functions to be called after GPT-4o answers.
# Defining the functions – in this case a toy example of a shipping function
def ship_to_Oceania(location):
return f”Shipping to Oceania based on location {location}”
def ship_to_Europe(location):
return f”Shipping to Europe based on location {location}”
def ship_to_US(location):
return f”Shipping to Americas based on location {location}”
Defining the available functions to be called to send to GPT-4o.
It is very IMPORTANT to send the function’s and parameters descriptions so GPT-4o will know which method to call.
tools = [
{
“type”: “function”,
“function”: {
“name”: “ship_to_Oceania”,
“description”: “Shipping the parcel to any country in Oceania”,
“parameters”: {
“type”: “object”,
“properties”: {
“location”: {
“type”: “string”,
“description”: “The country to ship the parcel to.”,
}
},
“required”: [“location”],
},
},
},
{
“type”: “function”,
“function”: {
“name”: “ship_to_Europe”,
“description”: “Shipping the parcel to any country in Europe”,
“parameters”: {
“type”: “object”,
“properties”: {
“location”: {
“type”: “string”,
“description”: “The country to ship the parcel to.”,
}
},
“required”: [“location”],
},
},
},
{
“type”: “function”,
“function”: {
“name”: “ship_to_US”,
“description”: “Shipping the parcel to any country in the United States”,
“parameters”: {
“type”: “object”,
“properties”: {
“location”: {
“type”: “string”,
“description”: “The country to ship the parcel to.”,
}
},
“required”: [“location”],
},
},
},
]
available_functions = {
“ship_to_Oceania”: ship_to_Oceania,
“ship_to_Europe”: ship_to_Europe,
“ship_to_US”: ship_to_US,
}
Function to base64 encode our images, this is the format accepted by GPT-4o.
# Encoding the images to send to GPT-4-O
import base64
def encode_image(image_path):
with open(image_path, “rb”) as image_file:
return base64.b64encode(image_file.read()).decode(“utf-8”)
The method to call GPT-4o.
Notice below that we send the parameter “tools” with the JSON describing the functions to be called.
def call_OpenAI(messages, tools, available_functions):
# Step 1: send the prompt and available functions to GPT
response = client.chat.completions.create(
model=GPT4o_DEPLOYMENT_NAME,
messages=messages,
tools=tools,
tool_choice=”auto”,
)
response_message = response.choices[0].message
# Step 2: check if GPT wanted to call a function
if response_message.tool_calls:
print(“Recommended Function call:”)
print(response_message.tool_calls[0])
print()
# Step 3: call the function
# Note: the JSON response may not always be valid; be sure to handle errors
function_name = response_message.tool_calls[0].function.name
# verify function exists
if function_name not in available_functions:
return “Function ” + function_name + ” does not exist”
function_to_call = available_functions[function_name]
# verify function has correct number of arguments
function_args = json.loads(response_message.tool_calls[0].function.arguments)
if check_args(function_to_call, function_args) is False:
return “Invalid number of arguments for function: ” + function_name
# call the function
function_response = function_to_call(**function_args)
print(“Output of function call:”)
print(function_response)
print()
Please note that WE and not GPT-4o call the methods in our code based on the answer by GTP4-o.
# call the function
function_response = function_to_call(**function_args)
Iterate through all the images in the folder.
Notice the system prompt where we ask GPT-4o what we need it to do, sort labels for packages routing calling functions.
# iterate through all the images in the data folder
import os
data_folder = “./data”
for image in os.listdir(data_folder):
if image.endswith(“.png”):
IMAGE_PATH = os.path.join(data_folder, image)
base64_image = encode_image(IMAGE_PATH)
display(Image(IMAGE_PATH))
messages = [
{“role”: “system”, “content”: “You are a customer service assistant for a delivery service, equipped to analyze images of package labels. Based on the country to ship the package to, you must always ship to the corresponding continent. You must always use tools!”},
{“role”: “user”, “content”: [
{“type”: “image_url”, “image_url”: {
“url”: f”data:image/png;base64,{base64_image}”}
}
]}
]
call_OpenAI(messages, tools, available_functions)
Let’s run our notebook!!!
Running our code for the label above produces the following output:
Recommended Function call:
ChatCompletionMessageToolCall(id=’call_lH2G1bh2j1IfBRzZcw84wg0x’, function=Function(arguments='{“location”:”United States”}’, name=’ship_to_US’), type=’function’)
Output of function call:
Shipping to Americas based on location United States
That’s all folks!
Thanks
Denise
Microsoft Tech Community – Latest Blogs –Read More
Como Implementar e Gerenciar Seus Custos do Azure com FinOps Hub no Formato FOCUS 🚀
Tutorial Implementação do FinOps Hub para Análise de Custos
Se você está buscando uma plataforma confiável para analisar seus custos, obter insights e tomar ações baseadas em dados, está no lugar certo. Neste artigo, vou mostrar o passo a passo de como implementar a solução do FinOps Hub no seu ambiente e aproveitar os diversos relatórios de custos disponíveis no repositório deste projeto.
O Que é o FinOps?
Antes de começarmos, é importante entender o que é o FinOps e como o kit de Ferramentas do FinOps Hub vai ajudá-lo na análise de custos.
FinOps é uma estrutura operacional e prática cultural que maximiza o valor comercial da nuvem. Ela permite a tomada de decisões baseadas em dados e cria responsabilidade financeira por meio da colaboração entre equipes de engenharia, finanças, tecnologia e operações comerciais. Esta disciplina envolve o uso de ferramentas de gerenciamento de custos na nuvem, como o Microsoft Cost Management, e práticas recomendadas, como:
Analisar e acompanhar os gastos com a nuvem.
Identificar oportunidades de redução de custos.
Alocar custos para equipes, projetos ou produtos específicos.
A Microsoft recentemente anunciou uma parceria estratégica com a FinOps.org, uma organização líder no desenvolvimento de práticas de gerenciamento financeiro em nuvem. Essa colaboração visa aprimorar as capacidades de governança financeira e otimização de custos para empresas que utilizam a plataforma Azure.
Combinando a expertise da Microsoft em tecnologia de nuvem com as práticas recomendadas e frameworks desenvolvidos pela FinOps.org, as organizações poderão obter maior transparência, controle e eficiência em seus investimentos em nuvem. Essa aliança promete fortalecer as ferramentas e recursos disponíveis para empresas, facilitando uma gestão financeira mais inteligente e estratégica no ambiente digital.
Benefícios do FinOps Hub
O FinOps Hub vai ampliar o gerenciamento de custos ao exportar detalhes para uma conta de armazenamento consolidada, superando algumas limitações quando coletamos estes dados por API. Na sua forma básica, ele habilita opções adicionais de relatórios no Power BI. Em um nível avançado, ele serve como base para criar sua própria solução de gerenciamento e otimização de custos.
Princípios de Design do FinOps Hub
O FinOps Hub se concentra em três princípios básicos de design:
Padronizado: Este princípio se esforça para ser o exemplo máximo do Framework de FinOps, demonstrando seus princípios, práticas e valores de forma exemplar.
Construído para Escala: Projetado para suportar as maiores contas e organizações.
Aberto e Extensível: Abraça o ecossistema e prioriza a habilitação da plataforma.
Comparação com o Microsoft Cost Management
Uma pergunta comum é por que usar o FinOps Hub se já existe o Cost Management. Muitas organizações que utilizam o Microsoft Cost Management encontram obstáculos quando necessitam de recursos que não estão disponíveis nativamente. Nessas situações, as opções são limitadas a utilizar ferramentas de terceiros ou desenvolver uma solução do zero. O FinOps Hub oferece uma base para facilitar a criação de soluções personalizadas de gerenciamento de custos.
Vantagens do FinOps Hub
Acesso Simplificado: Você não precisa conceder acesso no portal do Azure para utilizar o Cost Management.
Templates de Relatórios: Ele oferece templates de relatórios do Power BI que podem ser publicados online.
Funcionamento do FinOps Hub
A exportação é baseada no FinOps Open Cost and Usage Specification (FOCUS), uma iniciativa para definir um formato comum para dados de faturamento. O FOCUS inclui dados atuais e amortizados, reduzindo até 30% de dados no storage account e processamento, e está alinhado com o Framework do FinOps.
Processo de Exportação e Ingestão de Dados
O Gerenciamento de Custos exporta detalhes de custo bruto para o contêiner msexports.
O pipeline de msexports_ExecuteETL inicia o processo ETL (extract-transform-load) quando os arquivos são adicionados ao armazenamento.
O pipeline msexports_ETL_ingestion salva os dados exportados em formato parquet no contêiner de ingestão.
O Power BI lê dados de custo do contêiner de ingestão.
Custos do FinOps Hub
O custo médio é de 25 dólares por 1 milhão de linhas, mas o custo exato da solução pode variar, principalmente devido ao armazenamento de dados e à frequência de ingestão dos dados. Os pipelines operam uma vez por dia por exportação, ajudando a manter os custos sob controle e garantindo uma gestão eficiente dos dados.
Conclusão
Considerando os ganhos em termos de eficiência, automação e precisão que essa solução pode oferecer, o investimento pode ser justificado, trazendo retorno em médio a longo prazo. Agora, vamos para a prática!
O FinOps Hub é projetado pela comunidade. Você pode se juntar à discussão pelo link na descrição do vídeo e comentar o que gostaria de ver a seguir ou aprender a contribuir e fazer parte da equipe.
Quer assistir ao vídeo com o passo a passo para implementar o FinOps Hub baseado no Focus? Aperte o play no vídeo abaixo ou, se preferir, acesse
Deseja contribuir com o projeto e interagir com a comunidade? Visite o FinOps hubs – FinOps toolkit (microsoft.github.io)
Até mais!
Microsoft Tech Community – Latest Blogs –Read More
“Arrays have incompatible sizes for this operation” error
As you can see in the attached photo, all of my arrays have the same size (3600 x 3601). So, I don’t understand how I keep getting this error.As you can see in the attached photo, all of my arrays have the same size (3600 x 3601). So, I don’t understand how I keep getting this error. As you can see in the attached photo, all of my arrays have the same size (3600 x 3601). So, I don’t understand how I keep getting this error. error, arrays MATLAB Answers — New Questions
Opening a Figure from a Function – Not enough input arguments
Hello Reader! Basically, I am writing code that opens a figure with a button to be pressed on it, I want this button to open a figure saved in another file (same folder of course) as a function because this will keep the code tidy as a make more buttons/functions. I dont think figures works well on this online version of MATLAB.
Hello here is the function:
% Saved as flow_measurement
function flow_measurement(halfscreensizecentre,figurecolour)
figure(‘Name’,’Applied Thermofluids Calculator by Philip Schneider – Flow Measurement’,’Position’,halfscreensizecentre,’Color’,…
figurecolour,’MenuBar’,’none’,’NumberTitle’,’off’)
end
Hello, here is part of my code:
screensize = get(groot,’ScreenSize’) ;
halfscreensizecentre = [(screensize(1,[3,4])/4),(screensize(1,[3 4]))/2] ;
figurecolour = [230/255 230/255 230/255] ;
figure1 = figure(‘Name’,’Applied Thermofluids Calculator by Philip Schneider’,’Position’,halfscreensizecentre,’Color’,…
figurecolour,’MenuBar’,’none’,’NumberTitle’,’off’)
buttoncolor = [0 64/255 115/255] ;
textcolor = [1 1 1] ;
toprowbuttonheight = 1 – 0.35 ;
toprowtextheight = toprowbuttonheight + 0.21 ;
flowmeasurementbutton = uicontrol(‘Style’,’pushbutton’,’Units’,’normalized’,’Position’,[.125/2,toprowbuttonheight,.25,.25],’BackgroundColor’,buttoncolor …
,’Callback’,@buttonfunction,’UserData’,’1′) ; % Creates a pushbutton
% Callback assigns button press to function following @
% UserData makes an output of 1
textonflowmeasurementbutton = uicontrol(‘Style’,’text’,’Units’,’normalized’,’Position’,[0.125/2+0.005,toprowtextheight,0.24,0.03] …
,’String’,’Flow Measurement’,’BackgroundColor’,buttoncolor,’ForegroundColor’,textcolor …
,’FontWeight’,’bold’,’FontSize’,7) ;
function buttonfunction(object, ~, halfscreensizecentre,figurecolour) % function returns two outputs, object & event, event is not used so is denoted by ~
object.UserData ; % Finds out what UserData is, which is determined by which button is pressed.
if strcmpi(object.UserData,’1′) % strcmp is case-insensitive string compare
disp (‘Flow Measurement’)
flowmeasurementfigure.Callback = {@flow_measurement,halfscreensizecentre,figurecolour} % ERROR ON THIS LINE
else
disp(‘How did we get here?’)
end
end
I run the code press the button a recieve the following error message:
Not enough input arguments.
Error in Year_2_Applied_Thermofluids_Calculator>buttonfunction (line 48)
flowmeasurementfigure.Callback = {@flow_measurement,halfscreensizecentre,figurecolour}
Error while evaluating UIControl Callback.
Any advice on how to fix my code and achieve my desired outcome? Thank you for your time.Hello Reader! Basically, I am writing code that opens a figure with a button to be pressed on it, I want this button to open a figure saved in another file (same folder of course) as a function because this will keep the code tidy as a make more buttons/functions. I dont think figures works well on this online version of MATLAB.
Hello here is the function:
% Saved as flow_measurement
function flow_measurement(halfscreensizecentre,figurecolour)
figure(‘Name’,’Applied Thermofluids Calculator by Philip Schneider – Flow Measurement’,’Position’,halfscreensizecentre,’Color’,…
figurecolour,’MenuBar’,’none’,’NumberTitle’,’off’)
end
Hello, here is part of my code:
screensize = get(groot,’ScreenSize’) ;
halfscreensizecentre = [(screensize(1,[3,4])/4),(screensize(1,[3 4]))/2] ;
figurecolour = [230/255 230/255 230/255] ;
figure1 = figure(‘Name’,’Applied Thermofluids Calculator by Philip Schneider’,’Position’,halfscreensizecentre,’Color’,…
figurecolour,’MenuBar’,’none’,’NumberTitle’,’off’)
buttoncolor = [0 64/255 115/255] ;
textcolor = [1 1 1] ;
toprowbuttonheight = 1 – 0.35 ;
toprowtextheight = toprowbuttonheight + 0.21 ;
flowmeasurementbutton = uicontrol(‘Style’,’pushbutton’,’Units’,’normalized’,’Position’,[.125/2,toprowbuttonheight,.25,.25],’BackgroundColor’,buttoncolor …
,’Callback’,@buttonfunction,’UserData’,’1′) ; % Creates a pushbutton
% Callback assigns button press to function following @
% UserData makes an output of 1
textonflowmeasurementbutton = uicontrol(‘Style’,’text’,’Units’,’normalized’,’Position’,[0.125/2+0.005,toprowtextheight,0.24,0.03] …
,’String’,’Flow Measurement’,’BackgroundColor’,buttoncolor,’ForegroundColor’,textcolor …
,’FontWeight’,’bold’,’FontSize’,7) ;
function buttonfunction(object, ~, halfscreensizecentre,figurecolour) % function returns two outputs, object & event, event is not used so is denoted by ~
object.UserData ; % Finds out what UserData is, which is determined by which button is pressed.
if strcmpi(object.UserData,’1′) % strcmp is case-insensitive string compare
disp (‘Flow Measurement’)
flowmeasurementfigure.Callback = {@flow_measurement,halfscreensizecentre,figurecolour} % ERROR ON THIS LINE
else
disp(‘How did we get here?’)
end
end
I run the code press the button a recieve the following error message:
Not enough input arguments.
Error in Year_2_Applied_Thermofluids_Calculator>buttonfunction (line 48)
flowmeasurementfigure.Callback = {@flow_measurement,halfscreensizecentre,figurecolour}
Error while evaluating UIControl Callback.
Any advice on how to fix my code and achieve my desired outcome? Thank you for your time. Hello Reader! Basically, I am writing code that opens a figure with a button to be pressed on it, I want this button to open a figure saved in another file (same folder of course) as a function because this will keep the code tidy as a make more buttons/functions. I dont think figures works well on this online version of MATLAB.
Hello here is the function:
% Saved as flow_measurement
function flow_measurement(halfscreensizecentre,figurecolour)
figure(‘Name’,’Applied Thermofluids Calculator by Philip Schneider – Flow Measurement’,’Position’,halfscreensizecentre,’Color’,…
figurecolour,’MenuBar’,’none’,’NumberTitle’,’off’)
end
Hello, here is part of my code:
screensize = get(groot,’ScreenSize’) ;
halfscreensizecentre = [(screensize(1,[3,4])/4),(screensize(1,[3 4]))/2] ;
figurecolour = [230/255 230/255 230/255] ;
figure1 = figure(‘Name’,’Applied Thermofluids Calculator by Philip Schneider’,’Position’,halfscreensizecentre,’Color’,…
figurecolour,’MenuBar’,’none’,’NumberTitle’,’off’)
buttoncolor = [0 64/255 115/255] ;
textcolor = [1 1 1] ;
toprowbuttonheight = 1 – 0.35 ;
toprowtextheight = toprowbuttonheight + 0.21 ;
flowmeasurementbutton = uicontrol(‘Style’,’pushbutton’,’Units’,’normalized’,’Position’,[.125/2,toprowbuttonheight,.25,.25],’BackgroundColor’,buttoncolor …
,’Callback’,@buttonfunction,’UserData’,’1′) ; % Creates a pushbutton
% Callback assigns button press to function following @
% UserData makes an output of 1
textonflowmeasurementbutton = uicontrol(‘Style’,’text’,’Units’,’normalized’,’Position’,[0.125/2+0.005,toprowtextheight,0.24,0.03] …
,’String’,’Flow Measurement’,’BackgroundColor’,buttoncolor,’ForegroundColor’,textcolor …
,’FontWeight’,’bold’,’FontSize’,7) ;
function buttonfunction(object, ~, halfscreensizecentre,figurecolour) % function returns two outputs, object & event, event is not used so is denoted by ~
object.UserData ; % Finds out what UserData is, which is determined by which button is pressed.
if strcmpi(object.UserData,’1′) % strcmp is case-insensitive string compare
disp (‘Flow Measurement’)
flowmeasurementfigure.Callback = {@flow_measurement,halfscreensizecentre,figurecolour} % ERROR ON THIS LINE
else
disp(‘How did we get here?’)
end
end
I run the code press the button a recieve the following error message:
Not enough input arguments.
Error in Year_2_Applied_Thermofluids_Calculator>buttonfunction (line 48)
flowmeasurementfigure.Callback = {@flow_measurement,halfscreensizecentre,figurecolour}
Error while evaluating UIControl Callback.
Any advice on how to fix my code and achieve my desired outcome? Thank you for your time. not enough input arguments, figure, function MATLAB Answers — New Questions
Peak coming at 50Hz in every data file. How to get rid of that
I have amplitude and time data with me. After doing FFT of the data I plot amplitude vs frequency graph and after calculating power I plotted power vs frequency graph but everytime in my graph there is a peak at 50hz. and it comes in every data file. Please help me how to get rid of that. I have attached pictures of graph for your referenceI have amplitude and time data with me. After doing FFT of the data I plot amplitude vs frequency graph and after calculating power I plotted power vs frequency graph but everytime in my graph there is a peak at 50hz. and it comes in every data file. Please help me how to get rid of that. I have attached pictures of graph for your reference I have amplitude and time data with me. After doing FFT of the data I plot amplitude vs frequency graph and after calculating power I plotted power vs frequency graph but everytime in my graph there is a peak at 50hz. and it comes in every data file. Please help me how to get rid of that. I have attached pictures of graph for your reference fftpsd, filter in fourier domain, remove spike in spectrum. MATLAB Answers — New Questions
Single Line of Text Changed to Multiple Lines of Text Character Limitation not adjusted
I had a flow fail due to the column setting of Single Line of Text maximum 255 characters. I was able to adjust the column type to Multiple Lines of Text which should give me 69K’ish characters. Upon resubmitting the flow it continues to fail, not accepting any characters of 255. I also have another column set up exactly this same way and that column accepts characters over 255, I see no difference in the settings between the two columns.
Can someone shed any light on this for me please?
I had a flow fail due to the column setting of Single Line of Text maximum 255 characters. I was able to adjust the column type to Multiple Lines of Text which should give me 69K’ish characters. Upon resubmitting the flow it continues to fail, not accepting any characters of 255. I also have another column set up exactly this same way and that column accepts characters over 255, I see no difference in the settings between the two columns. Can someone shed any light on this for me please? Read More
Spam
Folks, there has been an increase in spam post recently, can you please adjust the protection settings and start blocking repeated offenders? Here are some examples from today:
7 Best OST to PST Converter Software for Outlook – Microsoft Community Hub
List of 7 Best MBOX to PST Converter for Outlook – Microsoft Community Hub
5 Best MBOX to PDF Converter – Microsoft Community Hub
Top 5 Best OST Repair tool for Outlook Application – Microsoft Community Hub
Folks, there has been an increase in spam post recently, can you please adjust the protection settings and start blocking repeated offenders? Here are some examples from today:
7 Best OST to PST Converter Software for Outlook – Microsoft Community Hub
List of 7 Best MBOX to PST Converter for Outlook – Microsoft Community Hub
5 Best MBOX to PDF Converter – Microsoft Community Hub
Top 5 Best OST Repair tool for Outlook Application – Microsoft Community Hub Read More
What is to do? 3 Basic buttons missing from Bluetooth settings
Not doing anything and the three basic buttons were gone! Disabled and Enabled Bluetooth multiple times but this does not work at all. As you can see in the image, i only have 2 rows, the one with the bluetooth is completely gone.
Not doing anything and the three basic buttons were gone! Disabled and Enabled Bluetooth multiple times but this does not work at all. As you can see in the image, i only have 2 rows, the one with the bluetooth is completely gone. Read More
SQL Server on Azure VMs: I/O analysis (preview)
Analyzing I/O problems just got easier for SQL Server on Azure VMs
It is not easy to understand what’s going on when you run into an I/O related performance problem on an Azure Virtual Machine. It is a common, but complex problem. What you need is to figure out what’s happening at both the host level and your SQL Server instance where often, correlating host metrics with SQL Server workloads can be a challenge.
We developed a new experience that helps you do exactly that.
When you visit the Storage blade of your SQL virtual machine resource page on Azure portal, you will see two new tabs:
I/O analysis
I/O related best practices
The I/O analysis tab will tell you if you are having a performance issue stemming from IOPS and/or throughput throttling, caused by exceeding virtual machine or data disks limits. It will further show you the exact metric(s) and time where this issue shows itself down to the disk or VM level. Once you identify the problem on this tab, you might want to go to our documentation by following the “Learn more” link on the page as shown in the image above. The documentation details each scenario, what might have caused the problem, and provides guidance on how to resolve it.
How does it determine if there is a problem or not? It uses Azure metrics to understand what is going on in the system. I/O analysis checks metric health data for the last 24 hours. You will see the Azure metric charts on the page.
If you click on these charts, they will take you directly to the Azure metrics page as it is simply leveraging what’s available in Azure already.
It first looks to see if there is disk latency above a certain threshold. Throttling might occur but it is not considered problematic unless it results in a latency condition. Once latency is detected, it then analyzes Azure Metrics and shows you which one(s) demonstrate the problem.
The Azure metrics are:
VM Cached IOPS Consumed Percentage
VM Cached Bandwidth Consumed Percentage
VM Uncached IOPS Consumed Percentage
VM Uncached Bandwidth Consumed Percentage
Data Disk IOPS Consumed Percentage
Data Disk Bandwidth Consumed Percentage
You can find detailed information about the metrics and the algorithms used in the documentation.
Detecting Latency
In the example below, you see that it detected an issue (disk latency was over the threshold for a certain amount of time). The problem occurred on May 20th at 12:56pm UTC. If there are multiple spikes in the chart, I/O Analysis helps you pinpoint the issue. Two metrics show why the latency occurred.
In this case, it is a throughput problem both at VM level and disk level. The disk related charts have a chart line for each disk you have in your virtual machine, labeled with the LUN number. In the below graphic, you can see there is an I/O latency issue due to throughput for ‘VM Uncached Bandwidth Consumed Percentage’ and ‘Data Disk Bandwidth Consumed Percentage’.
You can then explore the details further by expanding the VM level metrics and / or disk level metrics sections below the Disk Latency chart.
For this scenario, expanding the VM level metrics reveals the following data on cached and uncached IOPS and throughput health, where you again can go to the metrics data, for further analysis, by clicking the chart.
You may also want to explore the disk level, by expanding the disk level metrics section as shown below.
I/O related best practices tab checks to make sure your system is following the configuration best practices relating to I/O on a SQL Server on Azure VM. Poorly configured systems tend to lead to performance problems, which often get exposed under workload pressure. Running an assessment will give you recommendations with various severity ratings based on risk and impact.
We recommend you implement them starting with the highest severity.
PowerShell script
If you prefer scripting to using Azure portal, you can also use the I/O Analysis PowerShell script to analyze the I/O performance of your SQL Server VM.
We would love to hear your feedback. Please feel free to comment here.
Microsoft Tech Community – Latest Blogs –Read More
Microsoft Federal Azure Developer Connect – Upcoming Events
Join us monthly for the Microsoft Federal Azure Developer Connect, a virtual webinar series focused on accelerating cloud adoption and empowering every developer to innovate and build software on the Azure Platform.
What’s it about?
This series is dedicated to the developer community, whether you are a developer building or supporting apps, or a Program Manager overseeing a portfolio of apps. We will be providing Federal relevant briefings to:
Share industry best practices
Enable developer productivity and accelerate software delivery
Deliver new features to end users more securely and efficiently
Boost application scalability and reliability
Upcoming Events
To register, click on each hyperlink below to register for each individual event. These events are open to all Federal employees and contractors.
Once you complete the registration form, please allow the team up to 2 business days to process your registration request. Once approved, you’ll receive an email with the calendar invite.
Microsoft Tech Community – Latest Blogs –Read More