Quantcast
Channel: Azure Management Portal forum
Viewing all 4189 articles
Browse latest View live

Azure Automation: error "Run Login-AzureRmAccount to login."

$
0
0

Hello,

In a Azure Enterprise subscription, I am trying to get Azure Automation Service working properly.
I am NOT using the main account of the subscription but my own account having admin rights on the portal but without the billing stuff. 

I created a 'Automation account', and trying to add custom 'powershell workflow' runbooks.

But none is working properly. All the default 'Tutorial' scripts also failed with the logging error. E.g. AzureAutomationTutorialScript fails on Login-AzureRmAccount.

Get-AzureRmResourceGroup : Run Login-AzureRmAccount to login.
At line:35 char:19+ $ResourceGroups = Get-AzureRmResourceGroup+                   ~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidOperation: (:) [Get-AzureRmResourceGroup], PSInvalidOperationException+ FullyQualifiedErrorId : InvalidOperation,Microsoft.Azure.Commands.Resources.GetAzureResourceGroupCommand

What should I do to make the automation works properly?

I added credentials for my account but AFAIK, the automation engine should not need extra credential, shout it?



How to configure smtp Settings on windows azure?

$
0
0

The application has functionality of sending mails .how do we configure the smtp server on windows azure .


Amit

How to >EASILY< move resources from one Azure subscription to another

$
0
0

I need to move all my resources (SQL DB, APP Service, ETC) from one subscription to another.

So far I have not found an easy way to do this.

Suggestions or pointers useful documentation on the subject?

Saving Azure AD user name to Windows 10 Pro Machine

$
0
0

Hey all.... I can't really find an answer and I'm sure I'm missing something simple.  

I have 2 questions. Users are on Office 365 SBP and have Azure AD accounts, about 8ish people share a single PC but all use their own logons.

1. When they logon to a Windows 10 Pro machine they have to choose other every time and type out the full user name.  I'd like to know if there is a GPE switch to save those IDs.

2. Windows is only displaying the last 3 logon's so when they want to switch they have to again type Other user and type in their full account name and password.

Thanks for your help!


Kris Wagner, MVP, MCITP, MCTS Twitter @sharepointkris Blog: http://www.sharepointkris.com/blog

Azure AD Applications Backup

$
0
0

Hello, 

We publishing our  Applications in Azure and sharing OAuth Endpoint details to Application team for integration . 

I would like to know how to take backup of those configuration details , if some thing got deleted or corrupted or application needs to rebuild  , it would be good to have backup of those configurations . 

Please advise in this regard. 

Regards

K Gopi 



Regards Gopi K

Azure Contaier Registry using custom FQDM

$
0
0

Hi i would like to know if it is possible to use custom domain name instead of using  {containerregistryname}-on.azurecr.io

i would like to name my docker images as  

our hostname/name 

is it possible to cname as well ? 

Why is "failed connections" option disabled on SQL Datatabase activity chart?

$
0
0

I've long noticed and never looked into why some of the counter options on the SQL Database activity chart are shown when you edit the graph, but cannot be selected.  I'd like to see the connections counters.  Why are they disabled, how does one enable them?

Thanks,

Josh

How to restrict a user in resource group for creating specific number of VM ?

$
0
0

 I have recently started exploring admin part of azure account.

I read about granting permissions to specific roles for user (Role Based Access).

There is default limit of 50 VM per cloud service. Can I restrict a user in resource group for creating specific number of VM ?


forwarding emails

$
0
0

Guys,

Is it possible to forward mails send to an office 365 exchange account  created in Azure to a different mailadres from a different hoster?


Thanks. 

How to set required permissions for read all groups with service administrator

$
0
0

We have one AD group and one application register in azure account.

Through this application how to read AD group using service administrator credentials

Unable to create a bot service in AZURE

$
0
0
Hi All, 

Whenever I try to create a bot service in azure I get an error "An internal error occurred at the server."

This error occurs when I create a new "Microsoft App ID" Then I enter the password for App and chose "C#" and then tried with various templates like "Basic", "Form" etc..

has anyone encountered the same problem? Please help me fix this.

Thanks.

Can I read azure active directory group in MVC application if I have role as service administrator.

$
0
0

We have MVC application using this application we want read AD group created by Service Administrator.

MVC application is register in azure acrive dirctory permission also set for read all group.

but when we IPagedCollection<IGroup> pagedCollection = await client.Groups.ExecuteAsync(); execute this statement

it will throws following exception

"{\"odata.error\":{\"code\":\"Authorization_RequestDenied\",\"message\":{\"lang\":\"en\",\"value\":\"Insufficient privileges to complete the operation.\"},\"requestId\":\"---------\",\"date\":\"2017-01-30T13:46:22\"}}"

Read all group app permission required admin rights so which type of admin rights it is required (account or service)?



error ""code":"Forbidden","Message":"Please register the subscription 'xxxxxxxx-xxxx-xxxx.......' with Microsoft.Insights ""

$
0
0

Hello Everyone,

on azure new portal when I try to enable Diagnostics logs on NSG I get this error "error ""code":"Forbidden","Message":"Please register the subscription 'xxxxxxxx-xxxx-xxxx.......' with Microsoft.Insights """ .  I am trying to set it it so that it stores the logs in a storage account.

Thanks

Azure logic app - CRM list records and lookup for listed records - update list records JSON with lookup value

$
0
0

Hello!

I'm hoping someone can help.

Currently I have an Azure logic app that monitors sales quotes in CRM. When a quote is approved, the quote and quote product details need to be captured and transformed into a pre-defined XML format for a legacy system.

As part of this process, the product catalog items that will be included have a parent/child relationship. This relationship is used to determine the line numbers for the resulting XML.

I can easily use the header record from the dynamics 365 updated record action and use the dynamics 365 list records action to pull the quote product details (which would be JSON with an array of items for the quote). If I didn't have to do the product catalog lookup for the parent, I could construct a schema that could be used in the transform XML action to create the legacy system format.

Where I am experiencing the trouble is with the lookup part. I have to iterate through the list records action results. In this loop, I have another logic app I connect to to do the product catalog lookup for the parent field. But, this yields me singular body results for each array item as I loop through the list records results. I can work with that individual item, but I don't know how to get the results back into a JSON that includes all the records from the loop. It's the full set of quote products that I need so that I can use the transform XML action to create the resulting XML.

If I was doing this in straight up code, I'd have a variable outside the scope of a for loop and append the changes through each iteration, thus yielding a full set of results from the for loop processing. This is (to my knowledge) not something that we can do in Azure logic apps.

If anyone has any suggestions, I'd appreciate it immensely!

Thanks so much in advance!


Here is some scrubbed WDL for reference. There are a couple functions that are referenced as well to transform data and attempt to insert the parent ID into the list records action items.


{
    "$connections": {
        "value": {
            "dynamicscrmonline": {
                "connectionId": "/subscriptions/abc123",
                "connectionName": "abc123",
                "id": "/subscriptions/abc123"
            },
            "office365": {
                "connectionId": "/subscriptions/abc123",
                "connectionName": "office365",
                "id": "/subscriptions/abc123"
            }
        }
    },
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Condition": {
                "actions": {
                    "For_each": {
                        "actions": {
                            "Condition_2": {
                                "actions": {
                                    "UpdateQuoteProductWithParentProductNumber": {
                                        "inputs": {
                                           "body": "@json(replace(string(item()),'\"_abc_productfamily_value\":null',concat('\"_abc_productfamily_value\":\"',body('QuoteProductLookup')['value'][0]['_new_parentproduct_value'],'\"')))",
                                           "function": {
                                               "id": "/subscriptions/abc123"
                                            }
                                        },
                                        "runAfter": {},
                                        "type": "Function"
                                    }
                                },
                                "expression": "@greater(length(body('QuoteProductLookup')['value']), 0)",
                                "runAfter": {
                                    "QuoteProductLookup": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "QuoteProductLookup": {
                                "inputs": {
                                    "body": {
                                        "productnumber":"@{item()?['abc_partnumber']}"
                                    },
                                    "host": {
                                        "triggerName":"manual",
                                        "workflow": {
                                           "id": "/subscriptions/abc123"
                                        }
                                    }
                                },
                                "runAfter": {},
                                "type": "Workflow"
                            }
                        },
                        "foreach": "@body('List_records')?['value']",
                        "runAfter": {
                            "List_records": [
                                "Succeeded"
                            ]
                        },
                        "type": "Foreach"
                    },
                    "List_records": {
                        "inputs": {
                            "host": {
                                "api": {
                                    "runtimeUrl": "https://logic-apis-centralus.azure-apim.net/apim/dynamicscrmonline"
                                },
                                "connection": {
                                    "name": "@parameters('$connections')['dynamicscrmonline']['connectionId']"
                                }
                            },
                            "method": "get",
                            "path": "/datasets/@{encodeURIComponent(encodeURIComponent('abctech-dev1.crm'))}/tables/@{encodeURIComponent(encodeURIComponent('quotedetails'))}/items",
                            "queries": {
                                "$filter": "quoteid/quoteid eq @{triggerBody()?['quoteid']}"
                            }
                        },
                        "runAfter": {},
                        "type": "ApiConnection"
                    },
                    "Send_an_email": {
                        "inputs": {
                            "body": {
                                "Body": "@{replace(string(body('Transform_XML')),'Reference1>', 'Reference>')}",
                                "Subject": "xml from new record",
                                "To": "test@abc.com"
                            },
                            "host": {
                                "api": {
                                    "runtimeUrl": "https://logic-apis-centralus.azure-apim.net/apim/office365"
                                },
                                "connection": {
                                    "name": "@parameters('$connections')['office365']['connectionId']"
                                }
                            },
                            "method": "post",
                            "path": "/Mail"
                        },
                        "runAfter": {
                            "Transform_XML": [
                                "Succeeded"
                            ]
                        },
                        "type": "ApiConnection"
                    },
                    "Send_an_email_2": {
                        "inputs": {
                            "body": {
                                "Body": "@{string(body('UpdateLineItemNumber'))}",
                                "Subject": "XML for new schema",
                                "To": "test@abc.com"
                            },
                            "host": {
                                "api": {
                                    "runtimeUrl": "https://logic-apis-centralus.azure-apim.net/apim/office365"
                                },
                                "connection": {
                                    "name": "@parameters('$connections')['office365']['connectionId']"
                                }
                            },
                            "method": "post",
                            "path": "/Mail"
                        },
                        "runAfter": {
                            "UpdateLineItemNumber": [
                                "Succeeded"
                            ]
                        },
                        "type": "ApiConnection"
                    },
                    "Send_an_email_3": {
                        "inputs": {
                            "body": {
                                "Body": "@string(body('List_records')?['value'])",
                                "Subject": "is the part number updated?",
                                "To": "test@abc.com"
                            },
                            "host": {
                                "api": {
                                    "runtimeUrl": "https://logic-apis-centralus.azure-apim.net/apim/office365"
                                },
                                "connection": {
                                    "name": "@parameters('$connections')['office365']['connectionId']"
                                }
                            },
                            "method": "post",
                            "path": "/Mail"
                        },
                        "runAfter": {
                            "For_each": [
                                "Succeeded"
                            ]
                        },
                        "type": "ApiConnection"
                    },
                    "Transform_XML": {
                        "inputs": {
                            "content": "@{xml(concat('<fullQuote>',xml(json(replace(string(body('UpdateLineItemNumber')), '\"data\":', '\"quoteProducts\":'))),xml(json(replace(string(body('XmlToJsonConversion_Header')), '\"data\":', '\"quote\":'))),'</fullQuote>'))}",
                            "integrationAccount": {
                                "map": {
                                    "name": "Outbound_Quotes_CRM_To_Omar"
                                }
                            }
                        },
                        "runAfter": {
                            "XmlToJsonConversion_Header": [
                                "Succeeded"
                            ]
                        },
                        "type": "Xslt"
                    },
                    "UpdateLineItemNumber": {
                        "inputs": {
                            "body": "@body('List_records')",
                            "function": {
                                "id": "/subscriptions/abc123"
                            }
                        },
                        "runAfter": {
                            "XmlToJsonConversion_Lines": [
                                "Succeeded"
                            ]
                        },
                        "type": "Function"
                    },
                    "XmlToJsonConversion_Header": {
                        "inputs": {
                            "body": "@triggerBody()",
                            "function": {
                                "id": "/subscriptions/abc123"
                            }
                        },
                        "runAfter": {
                            "Send_an_email_2": [
                                "Succeeded"
                            ]
                        },
                        "type": "Function"
                    },
                    "XmlToJsonConversion_Lines": {
                        "inputs": {
                            "body": "@body('List_records')",
                            "function": {
                                "id": "/subscriptions/abc123"
                            },
                            "headers": "@triggerBody()"
                        },
                        "runAfter": {
                            "Send_an_email_3": [
                                "Succeeded"
                            ]
                        },
                        "type": "Function"
                    }
                },
                "expression": "@equals(1, 1)",
                "runAfter": {},
                "type": "If"
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "parameters": {
            "$connections": {
                "defaultValue": {},
                "type": "Object"
            }
        },
        "triggers": {
            "When_a_record_is_updated": {
                "inputs": {
                    "host": {
                        "api": {
                            "runtimeUrl": "https://logic-apis-centralus.azure-apim.net/apim/dynamicscrmonline"
                        },
                        "connection": {
                            "name": "@parameters('$connections')['dynamicscrmonline']['connectionId']"
                        }
                    },
                    "method": "get",
                    "path": "/datasets/@{encodeURIComponent(encodeURIComponent('abctech-dev1.crm'))}/tables/@{encodeURIComponent(encodeURIComponent('quotes'))}/onupdateditems"
                },
                "recurrence": {
                    "frequency": "Second",
                    "interval": 15
                },
                "splitOn": "@triggerBody()?.value",
                "type": "ApiConnection"
            }
        }
    }
}

Azure AD is adding user to local admin when they are joining device with workplace join.

$
0
0

Hi,

I have a azure AD infra where i have created normal user with no admin rights. But when normal users are joining device with azure ad then there account is automatically added in local admin group. I don't want to add those user to be added in local admin group. Is there any way by which they can join the device with azure workplace but there account will not be added in local admin group.


Abhishek


Connecting Luis to bot in Azure

$
0
0

I've created a bot through Azure with the Luis template but how exactly do I get them to communicate?

I've logged into Luis.ai and started training but I don't quite see how I link the two.

thanking you in advance.

Your account is not enabled for password reset

$
0
0
A user is uable to access the password reset service as it says they are not abled for it, but they have setup thier recovery information. I have dozens of other users in the same tenant who did exactlty the same and are fine.

How to get country from Microsoft Graph API for Office 365?

$
0
0
I want to fetch country of the logged in user using Graph API of Microsoft for Office 365.
I have downloaded code snippets for Microsoft Graph API in which I checked about the same. But it seems there is no any way to get it.
Is it possible to fetch country using Graph API? If yes then what process should I follow?

Co-owner could not access any subscription/resources

$
0
0

Hi all,

a real subscription owner added me with the owner role to his subscription.

But when i login into the azure portal i could not access any of his subscription/resources - i even could not see any.

The dashboard is just empty.

What do i have to do, to switch to his granted subscription?

Best regards

sahl04

Replace AD with Azure AD ?

$
0
0

The company I work for has a customer where every desktop is on Windows 10. They have been looking to go to a cloud environment only, since much of the resources they share on-site are basic, such as printing and one or two applications. They have an old failing 2011 SBS and are looking to go to Office365.

So do you consider that it would be a good idea to do away with the current local domain and create an AAD domain and do an Azure Join for all computers ?


Anser Leon

Viewing all 4189 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>